When we set InlineMessageId in BaseEdit struct of EditMessageTextConfig , values of ChatID and MessageID not omitted and sets to 0. This gives Chat not found error. We need test InlineMessageId existence in BaseEdit.values func and Add either inline_message_id or chat_id and message_id