A
A
alexandrsemen4ukk2021-08-08 16:53:47
Python
alexandrsemen4ukk, 2021-08-08 16:53:47

How to get forward_from_message_id when working with telebot python?

API returns None.
The essence of the problem, I want to use the bot to answer in the channel. The logic is as follows: I select the post I want to comment on, forward it to the bot, and write the appropriate text. The bot grabs the message that I attached and writes my text in the channel on its own behalf. To do this, you need to get the id of the message in the channel, but when sending the message to the bot, the id is not transmitted.
There are options how to make api give message_id when forwarding? There is an assumption that this information is deliberately hidden by the cart because of some kind of politics.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question