get_me()

async Client.get_me()

Get your own user identity.

Usable by Users Bots
Returns:

User – Information about the own logged in user/bot.

Example

me = await app.get_me()
print(me)