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