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

2.2 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
user User Optional Remaining user info
about string Optional Bio of the user
link contacts_Link Yes Link
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

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];

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}