MadelineProtoDocs/old_docs/API_docs_v75/constructors/userFull.md

54 lines
1.9 KiB
Markdown
Raw Normal View History

2018-06-29 13:59:08 +02:00
---
title: userFull
2018-12-26 02:56:50 +01:00
description: User full
2018-06-29 13:59:08 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: userFull
[Back to constructors index](index.md)
2018-12-26 02:56:50 +01:00
User full
2018-06-29 13:59:08 +02:00
### Attributes:
2018-12-26 02:56:50 +01:00
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|blocked|[Bool](../types/Bool.md) | Optional|Blocked?|
|phone\_calls\_available|[Bool](../types/Bool.md) | Optional|Phone calls available?|
|phone\_calls\_private|[Bool](../types/Bool.md) | Optional|Phone calls private?|
|user|[User](../types/User.md) | Optional|User|
|about|[string](../types/string.md) | Optional|About|
|link|[contacts\_Link](../types/contacts_Link.md) | Yes|Link|
|profile\_photo|[Photo](../types/Photo.md) | Optional|Profile photo|
|notify\_settings|[PeerNotifySettings](../types/PeerNotifySettings.md) | Optional|Notify settings|
|bot\_info|[BotInfo](../types/BotInfo.md) | Optional|Bot info|
|common\_chats\_count|[int](../types/int.md) | Yes|Common chats count|
2018-06-29 13:59:08 +02:00
### Type: [UserFull](../types/UserFull.md)
### Example:
```php
2018-06-29 13:59:08 +02:00
$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'common_chats_count' => int];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "userFull", "blocked": Bool, "phone_calls_available": Bool, "phone_calls_private": Bool, "user": User, "about": "string", "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "bot_info": BotInfo, "common_chats_count": int}
```
Or, if you're into Lua:
2018-06-29 13:59:08 +02:00
```lua
2018-06-29 13:59:08 +02:00
userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, common_chats_count=int}
```