MadelineProtoDocs/docs/API_docs/constructors/userFull.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

2.2 KiB

title description image
userFull User full https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: userFull

Back to constructors index

User full

Attributes:

Name Type Required Description
blocked Bool Optional Blocked?
phone_calls_available Bool Optional Phone calls available?
phone_calls_private Bool Optional Phone calls private?
can_pin_message Bool Optional Can pin message?
user User Optional User
about string Optional About
link contacts_Link Yes Link
profile_photo Photo Optional Profile photo
notify_settings PeerNotifySettings Yes Notify settings
bot_info BotInfo Optional Bot info
pinned_msg_id int Optional Pinned msg ID
common_chats_count int Yes Common chats count

Type: UserFull

Example:

$userFull = ['_' => 'userFull', 'blocked' => Bool, 'phone_calls_available' => Bool, 'phone_calls_private' => Bool, 'can_pin_message' => Bool, 'user' => User, 'about' => 'string', 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'bot_info' => BotInfo, 'pinned_msg_id' => int, 'common_chats_count' => int];

PWRTelegram json-encoded version:

{"_": "userFull", "blocked": Bool, "phone_calls_available": Bool, "phone_calls_private": Bool, "can_pin_message": Bool, "user": User, "about": "string", "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "bot_info": BotInfo, "pinned_msg_id": int, "common_chats_count": int}

Or, if you're into Lua:

userFull={_='userFull', blocked=Bool, phone_calls_available=Bool, phone_calls_private=Bool, can_pin_message=Bool, user=User, about='string', link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, bot_info=BotInfo, pinned_msg_id=int, common_chats_count=int}