Skip to content

User

Layer 225

TL name: user
Constructor ID: 0x31774388
Returns: User

Fields

FieldTypeDescription
flagsuint32
selfbool (flags.10)
contactbool (flags.11)
mutual_contactbool (flags.12)
deletedbool (flags.13)
botbool (flags.14)
bot_chat_historybool (flags.15)
bot_nochatsbool (flags.16)
verifiedbool (flags.17)
restrictedbool (flags.18)
minbool (flags.20)
bot_inline_geobool (flags.21)
supportbool (flags.23)
scambool (flags.24)
apply_min_photobool (flags.25)
fakebool (flags.26)
bot_attach_menubool (flags.27)
premiumbool (flags.28)
attach_menu_enabledbool (flags.29)
flags2uint32
bot_can_editbool (flags.1)
close_friendbool (flags.2)
stories_hiddenbool (flags.3)
stories_unavailablebool (flags.4)
contact_require_premiumbool (flags.10)
bot_businessbool (flags.11)
bot_has_main_appbool (flags.13)
bot_forum_viewbool (flags.16)
bot_forum_can_manage_topicsbool (flags.17)
bot_can_manage_botsbool (flags.18)
bot_guestchatbool (flags.19)
idint64
access_hashint64 (flags.0)
first_namestring (flags.1)
last_namestring (flags.2)
usernamestring (flags.3)
phonestring (flags.4)
photoUserProfilePhoto (flags.5)
statusUserStatus (flags.6)
bot_info_versionint32 (flags.14)
restriction_reason[]RestrictionReason (flags.18)
bot_inline_placeholderstring (flags.19)
lang_codestring (flags.22)
emoji_statusEmojiStatus (flags.30)
usernames[]Username (flags.0)
stories_max_idRecentStory (flags.5)
colorPeerColor (flags.8)
profile_colorPeerColor (flags.9)
bot_active_usersint32 (flags.12)
bot_verification_iconint64 (flags.14)
send_paid_messages_starsint64 (flags.15)

Released under the Apache-2.0 License.