MadelineProtoDocs/old_docs/API_docs_v27/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.4 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
real_first_name string Yes
real_last_name string Yes

Type: UserFull

Example:

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

PWRTelegram json-encoded version:

{"_": "userFull", "user": User, "link": contacts_Link, "profile_photo": Photo, "notify_settings": PeerNotifySettings, "blocked": Bool, "real_first_name": "string", "real_last_name": "string"}

Or, if you're into Lua:

userFull={_='userFull', user=User, link=contacts_Link, profile_photo=Photo, notify_settings=PeerNotifySettings, blocked=Bool, real_first_name='string', real_last_name='string'}