UserFull
- class pyrogram.raw.base.UserFull
Object contains extended user info.
- Constructors:
This base type has 1 constructor available.
Extended user info
TL Schema
userFull#a02bc13e
flags:#
blocked:flags.0?true
phone_calls_available:flags.4?true
phone_calls_private:flags.5?true
can_pin_message:flags.7?true
has_scheduled:flags.12?true
video_calls_available:flags.13?true
voice_messages_forbidden:flags.20?true
translations_disabled:flags.23?true
stories_pinned_available:flags.26?true
blocked_my_stories_from:flags.27?true
wallpaper_overridden:flags.28?true
contact_require_premium:flags.29?true
read_dates_private:flags.30?true
flags2:#
sponsored_enabled:flags2.7?true
can_view_revenue:flags2.9?true
bot_can_manage_emoji_status:flags2.10?true
display_gifts_button:flags2.16?true
noforwards_my_enabled:flags2.23?true
noforwards_peer_enabled:flags2.24?true
id:long
about:flags.1?string
settings:PeerSettings
personal_photo:flags.21?Photo
profile_photo:flags.2?Photo
fallback_photo:flags.22?Photo
notify_settings:PeerNotifySettings
bot_info:flags.3?BotInfo
pinned_msg_id:flags.6?int
common_chats_count:int
folder_id:flags.11?int
ttl_period:flags.14?int
theme:flags.15?ChatTheme
private_forward_name:flags.16?string
bot_group_admin_rights:flags.17?ChatAdminRights
bot_broadcast_admin_rights:flags.18?ChatAdminRights
wallpaper:flags.24?WallPaper
stories:flags.25?PeerStories
business_work_hours:flags2.0?BusinessWorkHours
business_location:flags2.1?BusinessLocation
business_greeting_message:flags2.2?BusinessGreetingMessage
business_away_message:flags2.3?BusinessAwayMessage
business_intro:flags2.4?BusinessIntro
birthday:flags2.5?Birthday
personal_channel_id:flags2.6?long
personal_channel_message:flags2.6?int
stargifts_count:flags2.8?int
starref_program:flags2.11?StarRefProgram
bot_verification:flags2.12?BotVerification
send_paid_messages_stars:flags2.14?long
disallowed_gifts:flags2.15?DisallowedGiftsSettings
stars_rating:flags2.17?StarsRating
stars_my_pending_rating:flags2.18?StarsRating
stars_my_pending_rating_date:flags2.18?int
main_tab:flags2.20?ProfileTab
saved_music:flags2.21?Document
note:flags2.22?TextWithEntities
= UserFull
Parameter Tree
UserFull
├── blocked →
true (optional)├── phone_calls_available →
true (optional)├── phone_calls_private →
true (optional)├── can_pin_message →
true (optional)├── has_scheduled →
true (optional)├── video_calls_available →
true (optional)├── voice_messages_forbidden →
true (optional)├── translations_disabled →
true (optional)├── stories_pinned_available →
true (optional)├── blocked_my_stories_from →
true (optional)├── wallpaper_overridden →
true (optional)├── contact_require_premium →
true (optional)├── read_dates_private →
true (optional)├── sponsored_enabled →
true (optional)├── can_view_revenue →
true (optional)├── bot_can_manage_emoji_status →
true (optional)├── display_gifts_button →
true (optional)├── noforwards_my_enabled →
true (optional)├── noforwards_peer_enabled →
true (optional)├── id →
long├── about →
string (optional)├── settings →
PeerSettings│ └──
PeerSettings│ ├── report_spam →
true (optional)│ ├── add_contact →
true (optional)│ ├── block_contact →
true (optional)│ ├── share_contact →
true (optional)│ ├── need_contacts_exception →
true (optional)│ ├── report_geo →
true (optional)│ ├── autoarchived →
true (optional)│ ├── invite_members →
true (optional)│ ├── request_chat_broadcast →
true (optional)│ ├── business_bot_paused →
true (optional)│ ├── business_bot_can_reply →
true (optional)│ ├── geo_distance →
int (optional)│ ├── request_chat_title →
string (optional)│ ├── request_chat_date →
int (optional)│ ├── business_bot_id →
long (optional)│ ├── business_bot_manage_url →
string (optional)│ ├── charge_paid_message_stars →
long (optional)│ ├── registration_month →
string (optional)│ ├── phone_country →
string (optional)│ ├── name_change_date →
int (optional)│ └── photo_change_date →
int (optional)├── personal_photo →
Photo (optional)│ ├──
PhotoEmpty│ │ └── id →
long│ └──
Photo│ ├── has_stickers →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── sizes →
Vector < PhotoSize >│ │ ├──
PhotoSizeEmpty│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├── video_sizes →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ ├── size →
int│ │ │ └── video_start_ts →
double (optional)│ │ ├──
VideoSizeEmojiMarkup│ │ │ ├── emoji_id →
long│ │ │ └── background_colors →
Vector < int >│ │ └──
VideoSizeStickerMarkup│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ ├── sticker_id →
long│ │ └── background_colors →
Vector < int >│ └── dc_id →
int├── profile_photo →
Photo (optional)│ ├──
PhotoEmpty│ │ └── id →
long│ └──
Photo│ ├── has_stickers →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── sizes →
Vector < PhotoSize >│ │ ├──
PhotoSizeEmpty│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├── video_sizes →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ ├── size →
int│ │ │ └── video_start_ts →
double (optional)│ │ ├──
VideoSizeEmojiMarkup│ │ │ ├── emoji_id →
long│ │ │ └── background_colors →
Vector < int >│ │ └──
VideoSizeStickerMarkup│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ ├── sticker_id →
long│ │ └── background_colors →
Vector < int >│ └── dc_id →
int├── fallback_photo →
Photo (optional)│ ├──
PhotoEmpty│ │ └── id →
long│ └──
Photo│ ├── has_stickers →
true (optional)│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── sizes →
Vector < PhotoSize >│ │ ├──
PhotoSizeEmpty│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├── video_sizes →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ ├── size →
int│ │ │ └── video_start_ts →
double (optional)│ │ ├──
VideoSizeEmojiMarkup│ │ │ ├── emoji_id →
long│ │ │ └── background_colors →
Vector < int >│ │ └──
VideoSizeStickerMarkup│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ ├── sticker_id →
long│ │ └── background_colors →
Vector < int >│ └── dc_id →
int├── notify_settings →
PeerNotifySettings│ └──
PeerNotifySettings│ ├── show_previews →
Bool (optional)│ ├── silent →
Bool (optional)│ ├── mute_until →
int (optional)│ ├── ios_sound →
NotificationSound (optional)│ │ ├──
NotificationSoundDefault│ │ ├──
NotificationSoundNone│ │ ├──
NotificationSoundLocal│ │ │ ├── title →
string│ │ │ └── data →
string│ │ └──
NotificationSoundRingtone│ │ └── id →
long│ ├── android_sound →
NotificationSound (optional)│ │ ├──
NotificationSoundDefault│ │ ├──
NotificationSoundNone│ │ ├──
NotificationSoundLocal│ │ │ ├── title →
string│ │ │ └── data →
string│ │ └──
NotificationSoundRingtone│ │ └── id →
long│ ├── other_sound →
NotificationSound (optional)│ │ ├──
NotificationSoundDefault│ │ ├──
NotificationSoundNone│ │ ├──
NotificationSoundLocal│ │ │ ├── title →
string│ │ │ └── data →
string│ │ └──
NotificationSoundRingtone│ │ └── id →
long│ ├── stories_muted →
Bool (optional)│ ├── stories_hide_sender →
Bool (optional)│ ├── stories_ios_sound →
NotificationSound (optional)│ │ ├──
NotificationSoundDefault│ │ ├──
NotificationSoundNone│ │ ├──
NotificationSoundLocal│ │ │ ├── title →
string│ │ │ └── data →
string│ │ └──
NotificationSoundRingtone│ │ └── id →
long│ ├── stories_android_sound →
NotificationSound (optional)│ │ ├──
NotificationSoundDefault│ │ ├──
NotificationSoundNone│ │ ├──
NotificationSoundLocal│ │ │ ├── title →
string│ │ │ └── data →
string│ │ └──
NotificationSoundRingtone│ │ └── id →
long│ └── stories_other_sound →
NotificationSound (optional)│ ├──
NotificationSoundDefault│ ├──
NotificationSoundNone│ ├──
NotificationSoundLocal│ │ ├── title →
string│ │ └── data →
string│ └── id →
long├── bot_info →
BotInfo (optional)│ └──
BotInfo│ ├── has_preview_medias →
true (optional)│ ├── user_id →
long (optional)│ ├── description →
string (optional)│ ├── description_photo →
Photo (optional)│ │ ├──
PhotoEmpty│ │ │ └── id →
long│ │ └──
Photo│ │ ├── has_stickers →
true (optional)│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── file_reference →
bytes│ │ ├── date →
int│ │ ├── sizes →
Vector < PhotoSize >│ │ │ ├──
PhotoSizeEmpty│ │ │ ├──
PhotoSize│ │ │ ├──
PhotoCachedSize│ │ │ ├──
PhotoStrippedSize│ │ │ ├──
PhotoSizeProgressive│ │ │ └──
PhotoPathSize│ │ ├── video_sizes →
Vector < VideoSize > (optional)│ │ │ ├──
VideoSize│ │ │ ├──
VideoSizeEmojiMarkup│ │ │ └──
VideoSizeStickerMarkup│ │ └── dc_id →
int│ ├── description_document →
Document (optional)│ │ ├──
DocumentEmpty│ │ │ └── id →
long│ │ └──
Document│ │ ├── id →
long│ │ ├── access_hash →
long│ │ ├── file_reference →
bytes│ │ ├── date →
int│ │ ├── mime_type →
string│ │ ├── size →
long│ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ ├──
PhotoSizeEmpty│ │ │ ├──
PhotoSize│ │ │ ├──
PhotoCachedSize│ │ │ ├──
PhotoStrippedSize│ │ │ ├──
PhotoSizeProgressive│ │ │ └──
PhotoPathSize│ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ ├──
VideoSize│ │ │ ├──
VideoSizeEmojiMarkup│ │ │ └──
VideoSizeStickerMarkup│ │ ├── dc_id →
int│ │ └── attributes →
Vector < DocumentAttribute >│ │ ├──
DocumentAttributeImageSize│ │ ├──
DocumentAttributeAnimated│ │ ├──
DocumentAttributeSticker│ │ ├──
DocumentAttributeVideo│ │ ├──
DocumentAttributeAudio│ │ ├──
DocumentAttributeFilename│ │ ├──
DocumentAttributeHasStickers│ │ └──
DocumentAttributeCustomEmoji│ ├── commands →
Vector < BotCommand > (optional)│ │ └──
BotCommand│ │ ├── command →
string│ │ └── description →
string│ ├── menu_button →
BotMenuButton (optional)│ │ ├──
BotMenuButtonDefault│ │ ├──
BotMenuButtonCommands│ │ └──
BotMenuButton│ │ ├── text →
string│ │ └── url →
string│ ├── privacy_policy_url →
string (optional)│ ├── app_settings →
BotAppSettings (optional)│ │ └──
BotAppSettings│ │ ├── placeholder_path →
bytes (optional)│ │ ├── background_color →
int (optional)│ │ ├── background_dark_color →
int (optional)│ │ ├── header_color →
int (optional)│ │ └── header_dark_color →
int (optional)│ └── verifier_settings →
BotVerifierSettings (optional)│ └──
BotVerifierSettings│ ├── can_modify_custom_description →
true (optional)│ ├── icon →
long│ ├── company →
string│ └── custom_description →
string (optional)├── pinned_msg_id →
int (optional)├── common_chats_count →
int├── folder_id →
int (optional)├── ttl_period →
int (optional)├── theme →
ChatTheme (optional)│ ├──
ChatTheme│ │ └── emoticon →
string│ └──
ChatThemeUniqueGift│ ├── gift →
StarGift│ │ ├──
StarGift│ │ │ ├── limited →
true (optional)│ │ │ ├── sold_out →
true (optional)│ │ │ ├── birthday →
true (optional)│ │ │ ├── require_premium →
true (optional)│ │ │ ├── limited_per_user →
true (optional)│ │ │ ├── peer_color_available →
true (optional)│ │ │ ├── auction →
true (optional)│ │ │ ├── id →
long│ │ │ ├── sticker →
Document│ │ │ │ ├──
DocumentEmpty│ │ │ │ └──
Document│ │ │ ├── stars →
long│ │ │ ├── availability_remains →
int (optional)│ │ │ ├── availability_total →
int (optional)│ │ │ ├── availability_resale →
long (optional)│ │ │ ├── convert_stars →
long│ │ │ ├── first_sale_date →
int (optional)│ │ │ ├── last_sale_date →
int (optional)│ │ │ ├── upgrade_stars →
long (optional)│ │ │ ├── resell_min_stars →
long (optional)│ │ │ ├── title →
string (optional)│ │ │ ├── released_by →
Peer (optional)│ │ │ │ ├──
PeerUser│ │ │ │ ├──
PeerChat│ │ │ │ └──
PeerChannel│ │ │ ├── per_user_total →
int (optional)│ │ │ ├── per_user_remains →
int (optional)│ │ │ ├── locked_until_date →
int (optional)│ │ │ ├── auction_slug →
string (optional)│ │ │ ├── gifts_per_round →
int (optional)│ │ │ ├── auction_start_date →
int (optional)│ │ │ ├── upgrade_variants →
int (optional)│ │ │ └── background →
StarGiftBackground (optional)│ │ │ └──
StarGiftBackground│ │ └──
StarGiftUnique│ │ ├── require_premium →
true (optional)│ │ ├── resale_ton_only →
true (optional)│ │ ├── theme_available →
true (optional)│ │ ├── burned →
true (optional)│ │ ├── crafted →
true (optional)│ │ ├── id →
long│ │ ├── gift_id →
long│ │ ├── title →
string│ │ ├── slug →
string│ │ ├── num →
int│ │ ├── owner_id →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── owner_name →
string (optional)│ │ ├── owner_address →
string (optional)│ │ ├── attributes →
Vector < StarGiftAttribute >│ │ │ ├──
StarGiftAttributeModel│ │ │ ├──
StarGiftAttributePattern│ │ │ ├──
StarGiftAttributeBackdrop│ │ │ └──
StarGiftAttributeOriginalDetails│ │ ├── availability_issued →
int│ │ ├── availability_total →
int│ │ ├── gift_address →
string (optional)│ │ ├── resell_amount →
Vector < StarsAmount > (optional)│ │ │ ├──
StarsAmount│ │ │ └──
StarsTonAmount│ │ ├── released_by →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── value_amount →
long (optional)│ │ ├── value_currency →
string (optional)│ │ ├── value_usd_amount →
long (optional)│ │ ├── theme_peer →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── peer_color →
PeerColor (optional)│ │ │ ├──
PeerColor│ │ │ ├──
PeerColorCollectible│ │ │ └──
InputPeerColorCollectible│ │ ├── host_id →
Peer (optional)│ │ │ ├──
PeerUser│ │ │ ├──
PeerChat│ │ │ └──
PeerChannel│ │ ├── offer_min_stars →
int (optional)│ │ └── craft_chance_permille →
int (optional)│ └── theme_settings →
Vector < ThemeSettings >│ └──
ThemeSettings│ ├── message_colors_animated →
true (optional)│ ├── base_theme →
BaseTheme│ │ ├──
BaseThemeClassic│ │ ├──
BaseThemeDay│ │ ├──
BaseThemeNight│ │ ├──
BaseThemeTinted│ │ └──
BaseThemeArctic│ ├── accent_color →
int│ ├── outbox_accent_color →
int (optional)│ ├── message_colors →
Vector < int > (optional)│ └── wallpaper →
WallPaper (optional)│ ├──
WallPaper│ └──
WallPaperNoFile├── private_forward_name →
string (optional)├── bot_group_admin_rights →
ChatAdminRights (optional)│ └──
ChatAdminRights│ ├── change_info →
true (optional)│ ├── post_messages →
true (optional)│ ├── edit_messages →
true (optional)│ ├── delete_messages →
true (optional)│ ├── ban_users →
true (optional)│ ├── invite_users →
true (optional)│ ├── pin_messages →
true (optional)│ ├── add_admins →
true (optional)│ ├── anonymous →
true (optional)│ ├── manage_call →
true (optional)│ ├── other →
true (optional)│ ├── manage_topics →
true (optional)│ ├── post_stories →
true (optional)│ ├── edit_stories →
true (optional)│ ├── delete_stories →
true (optional)│ ├── manage_direct_messages →
true (optional)│ └── manage_ranks →
true (optional)├── bot_broadcast_admin_rights →
ChatAdminRights (optional)│ └──
ChatAdminRights│ ├── change_info →
true (optional)│ ├── post_messages →
true (optional)│ ├── edit_messages →
true (optional)│ ├── delete_messages →
true (optional)│ ├── ban_users →
true (optional)│ ├── invite_users →
true (optional)│ ├── pin_messages →
true (optional)│ ├── add_admins →
true (optional)│ ├── anonymous →
true (optional)│ ├── manage_call →
true (optional)│ ├── other →
true (optional)│ ├── manage_topics →
true (optional)│ ├── post_stories →
true (optional)│ ├── edit_stories →
true (optional)│ ├── delete_stories →
true (optional)│ ├── manage_direct_messages →
true (optional)│ └── manage_ranks →
true (optional)├── wallpaper →
WallPaper (optional)│ ├──
WallPaper│ │ ├── id →
long│ │ ├── creator →
true (optional)│ │ ├── default →
true (optional)│ │ ├── pattern →
true (optional)│ │ ├── dark →
true (optional)│ │ ├── access_hash →
long│ │ ├── slug →
string│ │ ├── document →
Document│ │ │ ├──
DocumentEmpty│ │ │ │ └── id →
long│ │ │ └──
Document│ │ │ ├── id →
long│ │ │ ├── access_hash →
long│ │ │ ├── file_reference →
bytes│ │ │ ├── date →
int│ │ │ ├── mime_type →
string│ │ │ ├── size →
long│ │ │ ├── thumbs →
Vector < PhotoSize > (optional)│ │ │ │ ├──
PhotoSizeEmpty│ │ │ │ ├──
PhotoSize│ │ │ │ ├──
PhotoCachedSize│ │ │ │ ├──
PhotoStrippedSize│ │ │ │ ├──
PhotoSizeProgressive│ │ │ │ └──
PhotoPathSize│ │ │ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ │ │ ├──
VideoSize│ │ │ │ ├──
VideoSizeEmojiMarkup│ │ │ │ └──
VideoSizeStickerMarkup│ │ │ ├── dc_id →
int│ │ │ └── attributes →
Vector < DocumentAttribute >│ │ │ ├──
DocumentAttributeImageSize│ │ │ ├──
DocumentAttributeAnimated│ │ │ ├──
DocumentAttributeSticker│ │ │ ├──
DocumentAttributeVideo│ │ │ ├──
DocumentAttributeAudio│ │ │ ├──
DocumentAttributeFilename│ │ │ ├──
DocumentAttributeHasStickers│ │ │ └──
DocumentAttributeCustomEmoji│ │ └── settings →
WallPaperSettings (optional)│ │ └──
WallPaperSettings│ │ ├── blur →
true (optional)│ │ ├── motion →
true (optional)│ │ ├── background_color →
int (optional)│ │ ├── second_background_color →
int (optional)│ │ ├── third_background_color →
int (optional)│ │ ├── fourth_background_color →
int (optional)│ │ ├── intensity →
int (optional)│ │ ├── rotation →
int (optional)│ │ └── emoticon →
string (optional)│ └──
WallPaperNoFile│ ├── id →
long│ ├── default →
true (optional)│ ├── dark →
true (optional)│ └── settings →
WallPaperSettings (optional)│ └──
WallPaperSettings│ ├── blur →
true (optional)│ ├── motion →
true (optional)│ ├── background_color →
int (optional)│ ├── second_background_color →
int (optional)│ ├── third_background_color →
int (optional)│ ├── fourth_background_color →
int (optional)│ ├── intensity →
int (optional)│ ├── rotation →
int (optional)│ └── emoticon →
string (optional)├── stories →
PeerStories (optional)│ └──
PeerStories│ ├── peer →
Peer│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── max_read_id →
int (optional)│ └── stories →
Vector < StoryItem >│ ├──
StoryItemDeleted│ │ └── id →
int│ ├──
StoryItemSkipped│ │ ├── close_friends →
true (optional)│ │ ├── live →
true (optional)│ │ ├── id →
int│ │ ├── date →
int│ │ └── expire_date →
int│ └──
StoryItem│ ├── pinned →
true (optional)│ ├── public →
true (optional)│ ├── close_friends →
true (optional)│ ├── min →
true (optional)│ ├── noforwards →
true (optional)│ ├── edited →
true (optional)│ ├── contacts →
true (optional)│ ├── selected_contacts →
true (optional)│ ├── out →
true (optional)│ ├── id →
int│ ├── date →
int│ ├── from_id →
Peer (optional)│ │ ├──
PeerUser│ │ ├──
PeerChat│ │ └──
PeerChannel│ ├── fwd_from →
StoryFwdHeader (optional)│ │ └──
StoryFwdHeader│ ├── expire_date →
int│ ├── caption →
string (optional)│ ├── entities →
Vector < MessageEntity > (optional)│ │ ├──
MessageEntityUnknown│ │ ├──
MessageEntityMention│ │ ├──
MessageEntityHashtag│ │ ├──
MessageEntityBotCommand│ │ ├──
MessageEntityUrl│ │ ├──
MessageEntityEmail│ │ ├──
MessageEntityBold│ │ ├──
MessageEntityItalic│ │ ├──
MessageEntityCode│ │ ├──
MessageEntityPre│ │ ├──
MessageEntityTextUrl│ │ ├──
MessageEntityMentionName│ │ ├──
InputMessageEntityMentionName│ │ ├──
MessageEntityPhone│ │ ├──
MessageEntityCashtag│ │ ├──
MessageEntityUnderline│ │ ├──
MessageEntityStrike│ │ ├──
MessageEntityBankCard│ │ ├──
MessageEntitySpoiler│ │ ├──
MessageEntityCustomEmoji│ │ ├──
MessageEntityBlockquote│ │ └──
MessageEntityFormattedDate│ ├── media →
MessageMedia│ │ ├──
MessageMediaEmpty│ │ ├──
MessageMediaPhoto│ │ ├──
MessageMediaGeo│ │ ├──
MessageMediaContact│ │ ├──
MessageMediaUnsupported│ │ ├──
MessageMediaDocument│ │ ├──
MessageMediaWebPage│ │ ├──
MessageMediaVenue│ │ ├──
MessageMediaGame│ │ ├──
MessageMediaInvoice│ │ ├──
MessageMediaGeoLive│ │ ├──
MessageMediaPoll│ │ ├──
MessageMediaDice│ │ ├──
MessageMediaStory│ │ ├──
MessageMediaGiveaway│ │ ├──
MessageMediaGiveawayResults│ │ ├──
MessageMediaPaidMedia│ │ ├──
MessageMediaToDo│ │ └──
MessageMediaVideoStream│ ├── media_areas →
Vector < MediaArea > (optional)│ │ ├──
MediaAreaVenue│ │ ├──
InputMediaAreaVenue│ │ ├──
MediaAreaGeoPoint│ │ ├──
MediaAreaSuggestedReaction│ │ ├──
MediaAreaChannelPost│ │ ├──
InputMediaAreaChannelPost│ │ ├──
MediaAreaUrl│ │ ├──
MediaAreaWeather│ │ └──
MediaAreaStarGift│ ├── privacy →
Vector < PrivacyRule > (optional)│ │ ├──
PrivacyValueAllowContacts│ │ ├──
PrivacyValueAllowAll│ │ ├──
PrivacyValueAllowUsers│ │ ├──
PrivacyValueDisallowContacts│ │ ├──
PrivacyValueDisallowAll│ │ ├──
PrivacyValueDisallowUsers│ │ ├──
PrivacyValueAllowCloseFriends│ │ ├──
PrivacyValueAllowPremium│ │ ├──
PrivacyValueAllowBots│ │ └──
PrivacyValueDisallowBots│ ├── views →
StoryViews (optional)│ │ └──
StoryViews│ ├── sent_reaction →
Reaction (optional)│ │ ├──
ReactionEmpty│ │ ├──
ReactionEmoji│ │ ├──
ReactionCustomEmoji│ │ └──
ReactionPaid│ └── albums →
Vector < int > (optional)├── business_work_hours →
BusinessWorkHours (optional)│ └──
BusinessWorkHours│ ├── open_now →
true (optional)│ ├── timezone_id →
string│ └── weekly_open →
Vector < BusinessWeeklyOpen >│ └──
BusinessWeeklyOpen│ ├── start_minute →
int│ └── end_minute →
int├── business_location →
BusinessLocation (optional)│ └──
BusinessLocation│ ├── geo_point →
GeoPoint (optional)│ │ ├──
GeoPointEmpty│ │ └──
GeoPoint│ │ ├── long →
double│ │ ├── lat →
double│ │ ├── access_hash →
long│ │ └── accuracy_radius →
int (optional)│ └── address →
string├── business_greeting_message →
BusinessGreetingMessage (optional)│ └──
BusinessGreetingMessage│ ├── shortcut_id →
int│ ├── recipients →
BusinessRecipients│ │ └──
BusinessRecipients│ │ ├── existing_chats →
true (optional)│ │ ├── new_chats →
true (optional)│ │ ├── contacts →
true (optional)│ │ ├── non_contacts →
true (optional)│ │ ├── exclude_selected →
true (optional)│ │ └── users →
Vector < long > (optional)│ └── no_activity_days →
int├── business_away_message →
BusinessAwayMessage (optional)│ └──
BusinessAwayMessage│ ├── offline_only →
true (optional)│ ├── shortcut_id →
int│ ├── schedule →
BusinessAwayMessageSchedule│ │ ├── start_date →
int│ │ └── end_date →
int│ └── recipients →
BusinessRecipients│ └──
BusinessRecipients│ ├── existing_chats →
true (optional)│ ├── new_chats →
true (optional)│ ├── contacts →
true (optional)│ ├── non_contacts →
true (optional)│ ├── exclude_selected →
true (optional)│ └── users →
Vector < long > (optional)├── business_intro →
BusinessIntro (optional)│ └──
BusinessIntro│ ├── title →
string│ ├── description →
string│ └── sticker →
Document (optional)│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ ├──
PhotoSize│ │ ├──
PhotoCachedSize│ │ ├──
PhotoStrippedSize│ │ ├──
PhotoSizeProgressive│ │ └──
PhotoPathSize│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ ├──
VideoSizeEmojiMarkup│ │ └──
VideoSizeStickerMarkup│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── birthday →
Birthday (optional)│ └──
Birthday│ ├── day →
int│ ├── month →
int│ └── year →
int (optional)├── personal_channel_id →
long (optional)├── personal_channel_message →
int (optional)├── stargifts_count →
int (optional)├── starref_program →
StarRefProgram (optional)│ └──
StarRefProgram│ ├── bot_id →
long│ ├── commission_permille →
int│ ├── duration_months →
int (optional)│ ├── end_date →
int (optional)│ └── daily_revenue_per_user →
StarsAmount (optional)│ ├──
StarsAmount│ │ ├── amount →
long│ │ └── nanos →
int│ └──
StarsTonAmount│ └── amount →
long├── bot_verification →
BotVerification (optional)│ └──
BotVerification│ ├── bot_id →
long│ ├── icon →
long│ └── description →
string├── send_paid_messages_stars →
long (optional)├── disallowed_gifts →
DisallowedGiftsSettings (optional)│ └──
DisallowedGiftsSettings│ ├── disallow_unlimited_stargifts →
true (optional)│ ├── disallow_limited_stargifts →
true (optional)│ ├── disallow_unique_stargifts →
true (optional)│ ├── disallow_premium_gifts →
true (optional)│ └── disallow_stargifts_from_channels →
true (optional)├── stars_rating →
StarsRating (optional)│ └──
StarsRating│ ├── level →
int│ ├── current_level_stars →
long│ ├── stars →
long│ └── next_level_stars →
long (optional)├── stars_my_pending_rating →
StarsRating (optional)│ └──
StarsRating│ ├── level →
int│ ├── current_level_stars →
long│ ├── stars →
long│ └── next_level_stars →
long (optional)├── stars_my_pending_rating_date →
int (optional)├── main_tab →
ProfileTab (optional)│ ├──
ProfileTabPosts│ ├──
ProfileTabGifts│ ├──
ProfileTabMedia│ ├──
ProfileTabFiles│ ├──
ProfileTabMusic│ ├──
ProfileTabVoice│ ├──
ProfileTabLinks│ └──
ProfileTabGifs├── saved_music →
Document (optional)│ ├──
DocumentEmpty│ │ └── id →
long│ └──
Document│ ├── id →
long│ ├── access_hash →
long│ ├── file_reference →
bytes│ ├── date →
int│ ├── mime_type →
string│ ├── size →
long│ ├── thumbs →
Vector < PhotoSize > (optional)│ │ ├──
PhotoSizeEmpty│ │ │ └── type →
string│ │ ├──
PhotoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── size →
int│ │ ├──
PhotoCachedSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── bytes →
bytes│ │ ├──
PhotoStrippedSize│ │ │ ├── type →
string│ │ │ └── bytes →
bytes│ │ ├──
PhotoSizeProgressive│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ └── sizes →
Vector < int >│ │ └──
PhotoPathSize│ │ ├── type →
string│ │ └── bytes →
bytes│ ├── video_thumbs →
Vector < VideoSize > (optional)│ │ ├──
VideoSize│ │ │ ├── type →
string│ │ │ ├── w →
int│ │ │ ├── h →
int│ │ │ ├── size →
int│ │ │ └── video_start_ts →
double (optional)│ │ ├──
VideoSizeEmojiMarkup│ │ │ ├── emoji_id →
long│ │ │ └── background_colors →
Vector < int >│ │ └──
VideoSizeStickerMarkup│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ ├── sticker_id →
long│ │ └── background_colors →
Vector < int >│ ├── dc_id →
int│ └── attributes →
Vector < DocumentAttribute >│ │ ├── w →
int│ │ └── h →
int│ ├──
DocumentAttributeSticker│ │ ├── mask →
true (optional)│ │ ├── alt →
string│ │ ├── stickerset →
InputStickerSet│ │ │ ├──
InputStickerSetEmpty│ │ │ ├──
InputStickerSetID│ │ │ ├──
InputStickerSetShortName│ │ │ ├──
InputStickerSetAnimatedEmoji│ │ │ ├──
InputStickerSetDice│ │ │ ├──
InputStickerSetAnimatedEmojiAnimations│ │ │ ├──
InputStickerSetPremiumGifts│ │ │ ├──
InputStickerSetEmojiGenericAnimations│ │ │ ├──
InputStickerSetEmojiDefaultStatuses│ │ │ ├──
InputStickerSetEmojiDefaultTopicIcons│ │ │ └──
InputStickerSetTonGifts│ │ └── mask_coords →
MaskCoords (optional)│ │ └──
MaskCoords│ ├──
DocumentAttributeVideo│ │ ├── round_message →
true (optional)│ │ ├── supports_streaming →
true (optional)│ │ ├── nosound →
true (optional)│ │ ├── duration →
double│ │ ├── w →
int│ │ ├── h →
int│ │ ├── preload_prefix_size →
int (optional)│ │ ├── video_start_ts →
double (optional)│ │ └── video_codec →
string (optional)│ ├──
DocumentAttributeAudio│ │ ├── voice →
true (optional)│ │ ├── duration →
int│ │ ├── title →
string (optional)│ │ ├── performer →
string (optional)│ │ └── waveform →
bytes (optional)│ │ └── file_name →
string│ ├── free →
true (optional)│ ├── text_color →
true (optional)│ ├── alt →
string│ └── stickerset →
InputStickerSet│ ├──
InputStickerSetEmpty│ ├──
InputStickerSetID│ ├──
InputStickerSetShortName│ ├──
InputStickerSetDice│ └──
InputStickerSetTonGifts└── note →
TextWithEntities (optional)└──
TextWithEntities├── text →
string└── entities →
Vector < MessageEntity >│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int├──
MessageEntityUrl│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int├──
MessageEntityPre│ ├── offset →
int│ ├── length →
int│ └── language →
string│ ├── offset →
int│ ├── length →
int│ └── url →
string│ ├── offset →
int│ ├── length →
int│ └── user_id →
long│ ├── offset →
int│ ├── length →
int│ └── user_id →
InputUser│ ├──
InputUserEmpty│ ├──
InputUserSelf│ ├──
InputUser│ └──
InputUserFromMessage│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ └── length →
int│ ├── offset →
int│ ├── length →
int│ └── document_id →
long│ ├── collapsed →
true (optional)│ ├── offset →
int│ └── length →
int├── relative →
true (optional)├── short_time →
true (optional)├── long_time →
true (optional)├── short_date →
true (optional)├── long_date →
true (optional)├── day_of_week →
true (optional)├── offset →
int├── length →
int└── date →
intExample
UserFull(
blocked=None,
phone_calls_available=None,
phone_calls_private=None,
can_pin_message=None,
has_scheduled=None,
video_calls_available=None,
voice_messages_forbidden=None,
translations_disabled=None,
stories_pinned_available=None,
blocked_my_stories_from=None,
wallpaper_overridden=None,
contact_require_premium=None,
read_dates_private=None,
sponsored_enabled=None,
can_view_revenue=None,
bot_can_manage_emoji_status=None,
display_gifts_button=None,
noforwards_my_enabled=None,
noforwards_peer_enabled=None,
id=0,
about="text",
settings=PeerSettings(
report_spam=None,
add_contact=None,
block_contact=None,
share_contact=None,
need_contacts_exception=None,
report_geo=None,
autoarchived=None,
invite_members=None,
request_chat_broadcast=None,
business_bot_paused=None,
business_bot_can_reply=None,
geo_distance=None,
request_chat_title=None,
request_chat_date=None,
business_bot_id=None,
business_bot_manage_url=None,
charge_paid_message_stars=None,
registration_month=None,
phone_country=None,
name_change_date=None,
photo_change_date=None
),
personal_photo=PhotoEmpty(id=0),
profile_photo=PhotoEmpty(id=0),
fallback_photo=PhotoEmpty(id=0),
notify_settings=PeerNotifySettings(
show_previews=None,
silent=None,
mute_until=None,
ios_sound=None,
android_sound=None,
other_sound=None,
stories_muted=None,
stories_hide_sender=None,
stories_ios_sound=None,
stories_android_sound=None,
stories_other_sound=None
),
bot_info=BotInfo(
has_preview_medias=None,
user_id=None,
description=None,
description_photo=None,
description_document=None,
commands=None,
menu_button=None,
privacy_policy_url=None,
app_settings=None,
verifier_settings=None
),
pinned_msg_id=0,
common_chats_count=0,
folder_id=0,
ttl_period=0,
theme=ChatTheme(emoticon="text"),
private_forward_name="text",
bot_group_admin_rights=ChatAdminRights(
change_info=None,
post_messages=None,
edit_messages=None,
delete_messages=None,
ban_users=None,
invite_users=None,
pin_messages=None,
add_admins=None,
anonymous=None,
manage_call=None,
other=None,
manage_topics=None,
post_stories=None,
edit_stories=None,
delete_stories=None,
manage_direct_messages=None,
manage_ranks=None
),
bot_broadcast_admin_rights=ChatAdminRights(
change_info=None,
post_messages=None,
edit_messages=None,
delete_messages=None,
ban_users=None,
invite_users=None,
pin_messages=None,
add_admins=None,
anonymous=None,
manage_call=None,
other=None,
manage_topics=None,
post_stories=None,
edit_stories=None,
delete_stories=None,
manage_direct_messages=None,
manage_ranks=None
),
wallpaper=WallPaper(
id=0,
creator=None,
default=None,
pattern=None,
dark=None,
access_hash=0,
slug="text",
document=DocumentEmpty(id=0),
settings=None
),
stories=PeerStories(
peer=PeerUser(user_id=0),
max_read_id=None,
stories=[
StoryItemDeleted(id=0)
]
),
business_work_hours=BusinessWorkHours(
open_now=None,
timezone_id="text",
weekly_open=[
BusinessWeeklyOpen(
start_minute=0,
end_minute=0
)
]
),
business_location=BusinessLocation(
geo_point=None,
address="text"
),
business_greeting_message=BusinessGreetingMessage(
shortcut_id=0,
recipients=BusinessRecipients(
existing_chats=None,
new_chats=None,
contacts=None,
non_contacts=None,
exclude_selected=None,
users=None
),
no_activity_days=0
),
business_away_message=BusinessAwayMessage(
offline_only=None,
shortcut_id=0,
schedule=BusinessAwayMessageScheduleAlways(),
recipients=BusinessRecipients(
existing_chats=None,
new_chats=None,
contacts=None,
non_contacts=None,
exclude_selected=None,
users=None
)
),
business_intro=BusinessIntro(
title="text",
description="text",
sticker=None
),
birthday=Birthday(
day=0,
month=0,
year=None
),
personal_channel_id=0,
personal_channel_message=0,
stargifts_count=0,
starref_program=StarRefProgram(
bot_id=0,
commission_permille=0,
duration_months=None,
end_date=None,
daily_revenue_per_user=None
),
bot_verification=BotVerification(
bot_id=0,
icon=0,
description="text"
),
send_paid_messages_stars=0,
disallowed_gifts=DisallowedGiftsSettings(
disallow_unlimited_stargifts=None,
disallow_limited_stargifts=None,
disallow_unique_stargifts=None,
disallow_premium_gifts=None,
disallow_stargifts_from_channels=None
),
stars_rating=StarsRating(
level=0,
current_level_stars=0,
stars=0,
next_level_stars=None
),
stars_my_pending_rating=StarsRating(
level=0,
current_level_stars=0,
stars=0,
next_level_stars=None
),
stars_my_pending_rating_date=0,
main_tab=ProfileTabPosts(),
saved_music=DocumentEmpty(id=0),
note=TextWithEntities(
text="Open",
entities=[
MessageEntityUnknown(
offset=0,
length=0
)
]
),
)