1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 21:56:56 +01:00
MadelineProto/old_docs/API_docs_v27/constructors/userFull.md
2017-07-23 16:33:46 +02:00

1.4 KiB

title description
userFull userFull attributes, type and example

Constructor: userFull

Back to constructors index

Attributes:

Name Type Required
user User Yes
link contacts_Link Yes
profile_photo Photo Yes
notify_settings PeerNotifySettings Yes
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'}