telegram-bot-api v4.5.1 Release Notes
Release Date: 2016-08-01 // over 7 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