Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
To forward a message, use a function that is literally called forward message
tb.forward_message(to_chat_id, from_chat_id, message_id)
bot.send_message(chat_id_of_desired_user, message.text)
is to send a similar text, but the original author will not be visible
or
bot.forward_message(chat_id_of_desired_user, message.chat.id, message.text)
is to make a real forward (it will be written that the message forwarded from such and such)
in the decorator, we add sending a message to the previously saved message. chat. id
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question