Link Search Menu Expand Document

Method: getSelf

Gets info about the currently logged-in user.

No parameters

Return type: User object

Example (now fully async!):

$User = yield $MadelineProto->getSelf();