N
N
newbie632021-06-27 18:09:36
Python
newbie63, 2021-06-27 18:09:36

How to get the id of the user I sent a replay to?

It's easy to pass my id to the bot: user_id = message.from_user.id
But how can I also pass the id of the user to whom I replayed?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2021-06-27
@newbie63

message.reply_to_message.from_user.id
https://docs.aiogram.dev/en/dev/_modules/aiogram/t...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question