X
X
XWR2021-08-04 00:14:05
Python
XWR, 2021-08-04 00:14:05

How to get the name of 2 user through the response to the message?

6109b1702356e391687832.jpeg

I want to make such a command. I know how to get the 1st name, but I don’t understand how to get the 2nd name.
Can you tell me?

I write in the aiogram library

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
shurshur, 2021-08-04
@shurshur

The reply_to_message field of the Message class contains information about the message being replied to. Or None if it's a normal message.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question