Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sending Gif example #11

Closed
highfredo opened this issue Jul 16, 2015 · 5 comments
Closed

Sending Gif example #11

highfredo opened this issue Jul 16, 2015 · 5 comments
Labels

Comments

@highfredo
Copy link

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!!

@yagop
Copy link
Owner

yagop commented Jul 17, 2015

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.

@Zig1375
Copy link

Zig1375 commented Nov 17, 2015

When this bug will be fixed?

@SalamiArmy
Copy link

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"}"

@krokofant
Copy link

This should be mentioned in the docs. Very misleading when sending gifs. :-)

@GochoMugo
Copy link
Collaborator

We have added some help information on this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants