Answer the question
In order to leave comments, you need to log in
How to find out the username of a user by his ID in a telegram bot?
There is a user ID in the bot database, how can I find out his username?
Answer the question
In order to leave comments, you need to log in
When receiving a message:
message.from_user.id
message.from_user.first_name
message.from_user.last_name
message.from_user.username
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question