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

Fixed BaseEdit.values #55

Merged
merged 1 commit into from
Aug 1, 2016
Merged

Conversation

tucher
Copy link

@tucher tucher commented Aug 1, 2016

chat_id and message_id should be sent only if there is no
inline_message_id (and vice versa), according to documentation.
Without this change it is impossible to edit a message by InlineMessageID, because chat_id and message_id are always presented in a query and the Telegram server tries to use them instead of InlineMessageID

chat_id and message_id should be sent only if there is no
inline_message_id (and vice versa), according to documentation.
@m4rr
Copy link

m4rr commented Aug 1, 2016

Looks good to me.

@Syfaro Syfaro merged commit a7f48eb into go-telegram-bot-api:master Aug 1, 2016
@Syfaro
Copy link
Member

Syfaro commented Aug 1, 2016

Looks good, thanks!

Tagged v4.5.1 for this fix.

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

Successfully merging this pull request may close these issues.

3 participants