MadelineProtoDocs/old_docs/API_docs_v18/constructors/userFull.md

45 lines
1.3 KiB
Markdown
Raw Normal View History

2018-04-01 13:24:46 +02:00
---
title: userFull
2019-12-27 17:48:04 +01:00
description: Extended user info
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:24:46 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: userFull
2018-04-01 13:24:46 +02:00
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Extended user info
2018-12-26 02:56:50 +01:00
2018-04-01 13:24:46 +02:00
### Attributes:
2018-12-26 02:56:50 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
2019-12-27 17:48:04 +01:00
|user|[User](../types/User.md) | Optional|Remaining user info|
2019-12-27 18:25:37 +01:00
|link|[contacts.Link](../constructors/contacts.Link.md) | Yes|Link|
2018-12-26 02:56:50 +01:00
|profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo|
2019-12-27 17:48:04 +01:00
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notification settings|
2018-12-26 02:56:50 +01:00
|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|
2018-04-01 13:24:46 +02:00
### Type: [UserFull](../types/UserFull.md)
### Example:
```php
2019-12-27 18:25:37 +01:00
$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts.Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'real_first_name' => 'string', 'real_last_name' => 'string'];
2018-04-01 13:24:46 +02:00
```
Or, if you're into Lua:
2018-04-01 13:24:46 +02:00
```lua
2019-12-27 18:25:37 +01:00
userFull={_='userFull', user=User, link=contacts.Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'}
2018-04-01 13:24:46 +02:00
```