Currently to send an animated gif you must use the method "sendDocument", but in the example you use "sendPhoto" so it's a little confused...
Anyway, I think the method "sendPhoto" would support sending animated gif, don't you?
Pd: thank you for this wonderful api!!
Sorry, the example might be confusing. I am sending a static GIF bot.gif as a photo on the examples.
I will change it, thanks.
When this bug will be fixed?
I was so confused until I found this thread. Just couldn't understand why my bot kept saying "{"ok":false,"error_code":400,"description":"[Error]: Bad Request: there is no photo in request"}"
This should be mentioned in the docs. Very misleading when sending gifs. :-)
We have added some help information on this issue!
Most helpful comment
We have added some help information on this issue!