MadelineProtoDocs/old_docs/API_docs_v18/constructors/userFull.md
2019-12-27 18:25:37 +01:00

45 lines
1.3 KiB
Markdown

---
title: userFull
description: Extended user info
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: userFull
[Back to constructors index](index.md)
Extended user info
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user|[User](../types/User.md) | Optional|Remaining user info|
|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link|
|profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings|
|blocked|[Bool](../types/Bool.md) | Yes|Blocked?|
|real\_first\_name|[string](../types/string.md) | Yes|Real first name|
|real\_last\_name|[string](../types/string.md) | Yes|Real last name|
### Type: [UserFull](../types/UserFull.md)
### Example:
```php
$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string'];
```
Or, if you're into Lua:
```lua
userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'}
```