MadelineProtoDocs/docs/getSelf.md
2024-05-01 14:53:46 +02:00

434 B

title description redirect_from grand_parent parent
getSelf getSelf parameters, return type and example /get_self.html Telegram RPC API Methods

Method: getSelf

Gets info about the currently logged-in user.

No parameters

Return type: User object

Example (now fully async!):

$User = $MadelineProto->getSelf();