1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 12:06:55 +01:00
MadelineProto/docs/TD_docs/constructors/userFull.md
2017-07-23 16:33:46 +02:00

1.3 KiB

title description
userFull Gives full information about a user (except full list of profile photos)

Constructor: userFull

Back to constructors index

Gives full information about a user (except full list of profile photos)

Attributes:

Name Type Required Description
user user Yes General info about the user
is_blocked Bool Yes Is user blacklisted by current user
about string Yes Short user description
common_chat_count int Yes Number of common chats between the user and current user, 0 for the current user
bot_info botInfo Yes Information about bot if user is a bot, nullable

Type: UserFull

Example:

$userFull = ['_' => 'userFull', 'user' => user, 'is_blocked' => Bool, 'about' => 'string', 'common_chat_count' => int, 'bot_info' => botInfo];

PWRTelegram json-encoded version:

{"_": "userFull", "user": user, "is_blocked": Bool, "about": "string", "common_chat_count": int, "bot_info": botInfo}

Or, if you're into Lua:

userFull={_='userFull', user=user, is_blocked=Bool, about='string', common_chat_count=int, bot_info=botInfo}