github go-telegram-bot-api/telegram-bot-api v4.5.1
Fix BaseEdit.values to allow editing inline messages

latest releases: v5.5.1, v5.5.0, v5.4.0...
8 years ago

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

#55

Don't miss a new telegram-bot-api release

NewReleases is sending notifications on new releases.