4baac3178e
Add PHP, Lua language tag to Code area
1.8 KiB
1.8 KiB
title | description | image |
---|---|---|
userFull | userFull attributes, type and example | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: userFull
Attributes:
Name | Type | Required |
---|---|---|
blocked | Bool | Optional |
phone_calls_available | Bool | Optional |
phone_calls_private | Bool | Optional |
user | User | Optional |
about | string | Optional |
link | contacts_Link | Yes |
profile_photo | Photo | Optional |
notify_settings | PeerNotifySettings | Optional |
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}