How to get the information of the last message that the bot has forwarded to a group from a private chat with a user? #2189
-
I want to:
but I dont know how to get that last message to pass the thread_id and message.id of that to the f string above. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
solution: Just had to make an instance of bot.forward_message and then take that instance's message id like below: |
Beta Was this translation helpful? Give feedback.
solution:
Just had to make an instance of bot.forward_message and then take that instance's message id like below:
msg = bot.forward_message()
msg.message_id