MadelineProtoDocs/old_docs/API_docs_v40/constructors/userFull.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

1.3 KiB

title description image
userFull userFull attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: userFull

Back to constructors index

Attributes:

Name Type Required
user User Optional
link contacts_Link Yes
profile_photo Photo Optional
notify_settings PeerNotifySettings Optional
blocked Bool Yes
bot_info BotInfo Optional

Type: UserFull

Example:

$userFull = ['_' => 'userFull', 'user' => User, 'link' => contacts_Link, 'profile_photo' => Photo, 'notify_settings' => PeerNotifySettings, 'blocked' => Bool, 'bot_info' => BotInfo];

PWRTelegram json-encoded version:

{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "bot_info": BotInfo}

Or, if you're into Lua:

userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, bot_info=BotInfo}