Repository navigation
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. |
Answered by
denatuiumsaccharide
Feb 26, 2024
Replies: 1 comment
|
solution: Just had to make an instance of bot.forward_message and then take that instance's message id like below: |
0 replies
Answer selected by
denatuiumsaccharide
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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