mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 00:27:46 +01:00
1.7 KiB
1.7 KiB
title | description |
---|---|
userFull | userFull attributes, type and example |
Constructor: userFull
Attributes:
Name | Type | Required |
---|---|---|
blocked | Bool | Optional |
phone_calls_available | Bool | Optional |
phone_calls_private | Bool | Optional |
user | User | Yes |
about | string | Optional |
link | contacts_Link | Yes |
profile_photo | Photo | Optional |
notify_settings | PeerNotifySettings | Yes |
bot_info | BotInfo | Optional |
common_chats_count | int | Yes |
Type: UserFull
Example:
$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 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:
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}