Answer the question
In order to leave comments, you need to log in
How can a bot get a person's id from a forwarded message in a conversation?
For example, I forwarded a message in a conversation with the "/id" command, and the bot must not respond, it must also send the id of the person whose message I forwarded.
Thank you very much in advance, I always find answers to my questions here thanks to you.
Answer the question
In order to leave comments, you need to log in
What's the problem? when forwarding a message, "fwd_messages" is passed in the callback API object, which contains all information about the forwarded message. Including person id
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question