MadelineProtoDocs/old_docs/API_docs_v105/constructors/userFull.md
2019-12-27 17:48:04 +01:00

2.4 KiB

title description image
userFull Extended user info https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: userFull

Back to constructors index

Extended user info

Attributes:

Name Type Required Description
blocked Bool Optional Whether you have blocked this user
phone_calls_available Bool Optional Whether this user can make VoIP calls
phone_calls_private Bool Optional Whether this user's privacy settings allow you to call him
can_pin_message Bool Optional Whether you can pin messages in the chat with this user, you can do this only for a chat with yourself
has_scheduled Bool Optional Whether scheduled messages are available
user User Optional Remaining user info
about string Optional Bio of the user
settings PeerSettings Yes Peer settings
profile_photo Photo Optional Profile photo
notify_settings PeerNotifySettings Yes Notification settings
bot_info BotInfo Optional For bots, info about the bot (bot commands, etc)
pinned_msg_id int Optional Pinned message ID, you can only pin messages in a chat with yourself
common_chats_count int Yes Chats in common with this user
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}