# getSelf

> getSelf parameters, return type and example

Gets info about the currently logged-in user.

No parameters

### Return type: [User object](API_docs/types/User.html)

### Example ([now fully async!](https://docs.madelineproto.xyz/docs/ASYNC.html)):


```php
$User = $MadelineProto->getSelf();
```
