【发布时间】:2017-05-01 11:31:18
【问题描述】:
我正在尝试使用 sendPhoto(Telegram 的 Bot API)发送动画 GIF 并带有此请求:
https://api.telegram.org/bot<token>/sendPhoto?chat_id=<chat_id>&photo=http://i.giphy.com/13IC4LVeP5NGNi.gif
该方法有效,例如,我得到了ok:true,但聊天窗口中的图像是移动 GIF 的静止快照。
如何让动画 GIF 显示?我应该使用其他方法吗?
【问题讨论】:
-
现在的方法sendAnimation是最好的选择。
标签: telegram telegram-bot php-telegram-bot