MadelineProtoDocs/docs/API_docs/constructors/userFull.md

2.1 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?
has_scheduled Bool Optional Has scheduled messages?
user User Optional User
about string Optional About
settings PeerSettings Yes Peer settings
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
folder_id int Optional Folder ID

Type: UserFull

Example:

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

Or, if you're into Lua:

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