Skip to content

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