How to get message_id post the channel published by the bot?

After clicking 'yes', the bot posts a message on the channel. How to get message_id posted messages.
Write using the library pyTelegramBotAPI.

@bot.callback_query_handler(func=lambda call: True)
def callback_worker(call):
 if == 'yes':

message.message_id -id issues-messages from the correspondence, and the right message_id is sent to the channel.
April 3rd 20 at 18:53
1 answer
April 3rd 20 at 18:55
And what, in fact, a message from the BOS differs from communication in channel?

There is a difference between one message is transmitted in the field "message", and post in the channel in the "channel_post". This is evident from the object Update.
Different fields, but the object one Message.
if you change the message on channel_post, it gives an error.
Get message_id and did not work - Cleora_Rutherford commented on April 3rd 20 at 18:58

Find more questions by tags PythonBotsTelegram