Skip to content

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

Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by denatuiumsaccharide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant