MadelineProtoDocs/old_docs/API_docs_v66/constructors/userFull.md
2019-12-27 18:25:37 +01:00

1.8 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
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 Optional Notification settings
bot_info BotInfo Optional For bots, info about the bot (bot commands, etc)
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, '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}