Skip to content

user

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 bot_forum_sidebar:flags2.22?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

Name Type Flag Default Description
flags # flag word —
self flags.10?true flags.10 —
contact flags.11?true flags.11 —
mutual_contact flags.12?true flags.12 —
deleted flags.13?true flags.13 —
bot flags.14?true flags.14 —
bot_chat_history flags.15?true flags.15 —
bot_nochats flags.16?true flags.16 —
verified flags.17?true flags.17 —
restricted flags.18?true flags.18 —
min flags.20?true flags.20 —
bot_inline_geo flags.21?true flags.21 —
support flags.23?true flags.23 —
scam flags.24?true flags.24 —
apply_min_photo flags.25?true flags.25 —
fake flags.26?true flags.26 —
bot_attach_menu flags.27?true flags.27 —
premium flags.28?true flags.28 —
attach_menu_enabled flags.29?true flags.29 —
flags2 # flag word —
bot_can_edit flags2.1?true flags2.1 —
close_friend flags2.2?true flags2.2 —
stories_hidden flags2.3?true flags2.3 —
stories_unavailable flags2.4?true flags2.4 —
contact_require_premium flags2.10?true flags2.10 —
bot_business flags2.11?true flags2.11 —
bot_has_main_app flags2.13?true flags2.13 —
bot_forum_view flags2.16?true flags2.16 —
bot_forum_can_manage_topics flags2.17?true flags2.17 —
bot_can_manage_bots flags2.18?true flags2.18 —
bot_guestchat flags2.19?true flags2.19 —
bot_guard flags2.20?true flags2.20 —
bot_forum_sidebar flags2.22?true flags2.22 —
id long — —
access_hash flags.0?long flags.0 —
first_name flags.1?string flags.1 —
last_name flags.2?string flags.2 —
username flags.3?string flags.3 —
phone flags.4?string flags.4 —
photo flags.5?UserProfilePhoto flags.5 —
status flags.6?UserStatus flags.6 —
bot_info_version flags.14?int flags.14 —
restriction_reason flags.18?Vector flags.18 —
bot_inline_placeholder flags.19?string flags.19 —
lang_code flags.22?string flags.22 —
emoji_status flags.30?EmojiStatus flags.30 —
usernames flags2.0?Vector flags2.0 —
stories_max_id flags2.5?RecentStory flags2.5 —
color flags2.8?PeerColor flags2.8 —
profile_color flags2.9?PeerColor flags2.9 —
bot_active_users flags2.12?int flags2.12 —
bot_verification_icon flags2.14?long flags2.14 —
send_paid_messages_stars flags2.15?long flags2.15 —
linked_community_id flags2.21?long flags2.21 —
Parameter Bit Meaning
self 10 Controlled by flags; present when this bit is set.
contact 11 Controlled by flags; present when this bit is set.
mutual_contact 12 Controlled by flags; present when this bit is set.
deleted 13 Controlled by flags; present when this bit is set.
bot 14 Controlled by flags; present when this bit is set.
bot_chat_history 15 Controlled by flags; present when this bit is set.
bot_nochats 16 Controlled by flags; present when this bit is set.
verified 17 Controlled by flags; present when this bit is set.
restricted 18 Controlled by flags; present when this bit is set.
min 20 Controlled by flags; present when this bit is set.
bot_inline_geo 21 Controlled by flags; present when this bit is set.
support 23 Controlled by flags; present when this bit is set.
scam 24 Controlled by flags; present when this bit is set.
apply_min_photo 25 Controlled by flags; present when this bit is set.
fake 26 Controlled by flags; present when this bit is set.
bot_attach_menu 27 Controlled by flags; present when this bit is set.
premium 28 Controlled by flags; present when this bit is set.
attach_menu_enabled 29 Controlled by flags; present when this bit is set.
bot_can_edit 1 Controlled by flags2; present when this bit is set.
close_friend 2 Controlled by flags2; present when this bit is set.
stories_hidden 3 Controlled by flags2; present when this bit is set.
stories_unavailable 4 Controlled by flags2; present when this bit is set.
contact_require_premium 10 Controlled by flags2; present when this bit is set.
bot_business 11 Controlled by flags2; present when this bit is set.
bot_has_main_app 13 Controlled by flags2; present when this bit is set.
bot_forum_view 16 Controlled by flags2; present when this bit is set.
bot_forum_can_manage_topics 17 Controlled by flags2; present when this bit is set.
bot_can_manage_bots 18 Controlled by flags2; present when this bit is set.
bot_guestchat 19 Controlled by flags2; present when this bit is set.
bot_guard 20 Controlled by flags2; present when this bit is set.
bot_forum_sidebar 22 Controlled by flags2; present when this bit is set.
access_hash 0 Controlled by flags; present when this bit is set.
first_name 1 Controlled by flags; present when this bit is set.
last_name 2 Controlled by flags; present when this bit is set.
username 3 Controlled by flags; present when this bit is set.
phone 4 Controlled by flags; present when this bit is set.
photo 5 Controlled by flags; present when this bit is set.
status 6 Controlled by flags; present when this bit is set.
bot_info_version 14 Controlled by flags; present when this bit is set.
restriction_reason 18 Controlled by flags; present when this bit is set.
bot_inline_placeholder 19 Controlled by flags; present when this bit is set.
lang_code 22 Controlled by flags; present when this bit is set.
emoji_status 30 Controlled by flags; present when this bit is set.
usernames 0 Controlled by flags2; present when this bit is set.
stories_max_id 5 Controlled by flags2; present when this bit is set.
color 8 Controlled by flags2; present when this bit is set.
profile_color 9 Controlled by flags2; present when this bit is set.
bot_active_users 12 Controlled by flags2; present when this bit is set.
bot_verification_icon 14 Controlled by flags2; present when this bit is set.
send_paid_messages_stars 15 Controlled by flags2; present when this bit is set.
linked_community_id 21 Controlled by flags2; present when this bit is set.
from miniproto.raw.types import User

Public access: miniproto.raw.types.User.

User

Schema sources