M
M
Maxim Recipient2019-06-30 17:05:25
In contact with
Maxim Recipient, 2019-06-30 17:05:25

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

1 answer(s)
I
iBird Rose, 2019-06-30
@iiiBird

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 question

Ask a Question

731 491 924 answers to any question