I want to get the id of the user whose message I will reply to, for example:
a: hello
b: duel (with a replay to the message of user a)
Is there any way to get the id of user a?
(telebot)
You can, in the Message
object there is a field reply_to_messagethat contains the initial Message. Well, it has a field fromwith type User , which has a fieldid