Skip to content

user

No description provided by the pinned schema.

user#b1b8cc83 flags:# self:flags.10?true contact:flags.11?true mutual_contact:flags.12?true deleted:flags.13?true bot:flags.14?true bot_chat_history:flags.15?true bot_nochats:flags.16?true verified:flags.17?true restricted:flags.18?true min:flags.20?true bot_inline_geo:flags.21?true support:flags.23?true scam:flags.24?true apply_min_photo:flags.25?true fake:flags.26?true bot_attach_menu:flags.27?true premium:flags.28?true attach_menu_enabled:flags.29?true flags2:# bot_can_edit:flags2.1?true close_friend:flags2.2?true stories_hidden:flags2.3?true stories_unavailable:flags2.4?true contact_require_premium:flags2.10?true bot_business:flags2.11?true bot_has_main_app:flags2.13?true bot_forum_view:flags2.16?true bot_forum_can_manage_topics:flags2.17?true bot_can_manage_bots:flags2.18?true bot_guestchat:flags2.19?true bot_guard:flags2.20?true id:long access_hash:flags.0?long first_name:flags.1?string last_name:flags.2?string username:flags.3?string phone:flags.4?string photo:flags.5?UserProfilePhoto status:flags.6?UserStatus bot_info_version:flags.14?int restriction_reason:flags.18?Vector<RestrictionReason> bot_inline_placeholder:flags.19?string lang_code:flags.22?string emoji_status:flags.30?EmojiStatus usernames:flags2.0?Vector<Username> stories_max_id:flags2.5?RecentStory color:flags2.8?PeerColor profile_color:flags2.9?PeerColor bot_active_users:flags2.12?int bot_verification_icon:flags2.14?long send_paid_messages_stars:flags2.15?long linked_community_id:flags2.21?long = User;

User

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
selfflags.10?trueflags.10No description provided by the pinned schema.
contactflags.11?trueflags.11No description provided by the pinned schema.
mutual_contactflags.12?trueflags.12No description provided by the pinned schema.
deletedflags.13?trueflags.13No description provided by the pinned schema.
botflags.14?trueflags.14No description provided by the pinned schema.
bot_chat_historyflags.15?trueflags.15No description provided by the pinned schema.
bot_nochatsflags.16?trueflags.16No description provided by the pinned schema.
verifiedflags.17?trueflags.17No description provided by the pinned schema.
restrictedflags.18?trueflags.18No description provided by the pinned schema.
minflags.20?trueflags.20No description provided by the pinned schema.
bot_inline_geoflags.21?trueflags.21No description provided by the pinned schema.
supportflags.23?trueflags.23No description provided by the pinned schema.
scamflags.24?trueflags.24No description provided by the pinned schema.
apply_min_photoflags.25?trueflags.25No description provided by the pinned schema.
fakeflags.26?trueflags.26No description provided by the pinned schema.
bot_attach_menuflags.27?trueflags.27No description provided by the pinned schema.
premiumflags.28?trueflags.28No description provided by the pinned schema.
attach_menu_enabledflags.29?trueflags.29No description provided by the pinned schema.
flags2#flag wordNo description provided by the pinned schema.
bot_can_editflags2.1?trueflags2.1No description provided by the pinned schema.
close_friendflags2.2?trueflags2.2No description provided by the pinned schema.
stories_hiddenflags2.3?trueflags2.3No description provided by the pinned schema.
stories_unavailableflags2.4?trueflags2.4No description provided by the pinned schema.
contact_require_premiumflags2.10?trueflags2.10No description provided by the pinned schema.
bot_businessflags2.11?trueflags2.11No description provided by the pinned schema.
bot_has_main_appflags2.13?trueflags2.13No description provided by the pinned schema.
bot_forum_viewflags2.16?trueflags2.16No description provided by the pinned schema.
bot_forum_can_manage_topicsflags2.17?trueflags2.17No description provided by the pinned schema.
bot_can_manage_botsflags2.18?trueflags2.18No description provided by the pinned schema.
bot_guestchatflags2.19?trueflags2.19No description provided by the pinned schema.
bot_guardflags2.20?trueflags2.20No description provided by the pinned schema.
idlongNo description provided by the pinned schema.
access_hashflags.0?longflags.0No description provided by the pinned schema.
first_nameflags.1?stringflags.1No description provided by the pinned schema.
last_nameflags.2?stringflags.2No description provided by the pinned schema.
usernameflags.3?stringflags.3No description provided by the pinned schema.
phoneflags.4?stringflags.4No description provided by the pinned schema.
photoflags.5?UserProfilePhotoflags.5No description provided by the pinned schema.
statusflags.6?UserStatusflags.6No description provided by the pinned schema.
bot_info_versionflags.14?intflags.14No description provided by the pinned schema.
restriction_reasonflags.18?Vectorflags.18No description provided by the pinned schema.
bot_inline_placeholderflags.19?stringflags.19No description provided by the pinned schema.
lang_codeflags.22?stringflags.22No description provided by the pinned schema.
emoji_statusflags.30?EmojiStatusflags.30No description provided by the pinned schema.
usernamesflags2.0?Vectorflags2.0No description provided by the pinned schema.
stories_max_idflags2.5?RecentStoryflags2.5No description provided by the pinned schema.
colorflags2.8?PeerColorflags2.8No description provided by the pinned schema.
profile_colorflags2.9?PeerColorflags2.9No description provided by the pinned schema.
bot_active_usersflags2.12?intflags2.12No description provided by the pinned schema.
bot_verification_iconflags2.14?longflags2.14No description provided by the pinned schema.
send_paid_messages_starsflags2.15?longflags2.15No description provided by the pinned schema.
linked_community_idflags2.21?longflags2.21No description provided by the pinned schema.
ParameterBitMeaning
self10Controlled by flags; present when this bit is set.
contact11Controlled by flags; present when this bit is set.
mutual_contact12Controlled by flags; present when this bit is set.
deleted13Controlled by flags; present when this bit is set.
bot14Controlled by flags; present when this bit is set.
bot_chat_history15Controlled by flags; present when this bit is set.
bot_nochats16Controlled by flags; present when this bit is set.
verified17Controlled by flags; present when this bit is set.
restricted18Controlled by flags; present when this bit is set.
min20Controlled by flags; present when this bit is set.
bot_inline_geo21Controlled by flags; present when this bit is set.
support23Controlled by flags; present when this bit is set.
scam24Controlled by flags; present when this bit is set.
apply_min_photo25Controlled by flags; present when this bit is set.
fake26Controlled by flags; present when this bit is set.
bot_attach_menu27Controlled by flags; present when this bit is set.
premium28Controlled by flags; present when this bit is set.
attach_menu_enabled29Controlled by flags; present when this bit is set.
bot_can_edit1Controlled by flags2; present when this bit is set.
close_friend2Controlled by flags2; present when this bit is set.
stories_hidden3Controlled by flags2; present when this bit is set.
stories_unavailable4Controlled by flags2; present when this bit is set.
contact_require_premium10Controlled by flags2; present when this bit is set.
bot_business11Controlled by flags2; present when this bit is set.
bot_has_main_app13Controlled by flags2; present when this bit is set.
bot_forum_view16Controlled by flags2; present when this bit is set.
bot_forum_can_manage_topics17Controlled by flags2; present when this bit is set.
bot_can_manage_bots18Controlled by flags2; present when this bit is set.
bot_guestchat19Controlled by flags2; present when this bit is set.
bot_guard20Controlled by flags2; present when this bit is set.
access_hash0Controlled by flags; present when this bit is set.
first_name1Controlled by flags; present when this bit is set.
last_name2Controlled by flags; present when this bit is set.
username3Controlled by flags; present when this bit is set.
phone4Controlled by flags; present when this bit is set.
photo5Controlled by flags; present when this bit is set.
status6Controlled by flags; present when this bit is set.
bot_info_version14Controlled by flags; present when this bit is set.
restriction_reason18Controlled by flags; present when this bit is set.
bot_inline_placeholder19Controlled by flags; present when this bit is set.
lang_code22Controlled by flags; present when this bit is set.
emoji_status30Controlled by flags; present when this bit is set.
usernames0Controlled by flags2; present when this bit is set.
stories_max_id5Controlled by flags2; present when this bit is set.
color8Controlled by flags2; present when this bit is set.
profile_color9Controlled by flags2; present when this bit is set.
bot_active_users12Controlled by flags2; present when this bit is set.
bot_verification_icon14Controlled by flags2; present when this bit is set.
send_paid_messages_stars15Controlled by flags2; present when this bit is set.
linked_community_id21Controlled by flags2; present when this bit is set.
from miniproto.raw.types import User

Public access: miniproto.raw.types.User.

from miniproto.raw.types import User
# Naming the raw constructor class is local only; it performs no I/O or network request.
constructor_type = User

User

  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery