WebPage
- class pyrogram.raw.base.WebPage
Instant View webpage preview
- Constructors:
This base type has 4 constructors available.
Webpage preview
No preview is available for the webpage
The preview of the webpage hasn't changed
A preview of the webpage is currently being generated
TL Schema
webPage#e89c45b2
flags:#
has_large_media:flags.13?true
video_cover_photo:flags.14?true
id:long
url:string
display_url:string
hash:int
type:flags.0?string
site_name:flags.1?string
title:flags.2?string
description:flags.3?string
photo:flags.4?Photo
embed_url:flags.5?string
embed_type:flags.5?string
embed_width:flags.6?int
embed_height:flags.6?int
duration:flags.7?int
author:flags.8?string
document:flags.9?Document
cached_page:flags.10?Page
attributes:flags.12?Vector<WebPageAttribute>
= WebPage
Parameter Tree
WebPage
├── has_large_media →
true (optional)├── video_cover_photo →
true (optional)├── id →
long├── url →
string├── display_url →
string├── hash →
int├── type →
string (optional)├── site_name →
string (optional)├── title →
string (optional)├── description →
string (optional)├── 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├── embed_url →
string (optional)├── embed_type →
string (optional)├── embed_width →
int (optional)├── embed_height →
int (optional)├── duration →
int (optional)├── author →
string (optional)├── 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│ │ │ └── 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├── cached_page →
Page (optional)│ └──
Page│ ├── part →
true (optional)│ ├── rtl →
true (optional)│ ├── v2 →
true (optional)│ ├── url →
string│ ├── blocks →
Vector < PageBlock >│ │ ├──
PageBlockUnsupported│ │ ├──
PageBlockTitle│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockSubtitle│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockAuthorDate│ │ │ ├── author →
RichText│ │ │ │ ├──
TextEmpty│ │ │ │ ├──
TextPlain│ │ │ │ ├──
TextBold│ │ │ │ ├──
TextItalic│ │ │ │ ├──
TextUnderline│ │ │ │ ├──
TextStrike│ │ │ │ ├──
TextFixed│ │ │ │ ├──
TextUrl│ │ │ │ ├──
TextEmail│ │ │ │ ├──
TextConcat│ │ │ │ ├──
TextSubscript│ │ │ │ ├──
TextSuperscript│ │ │ │ ├──
TextMarked│ │ │ │ ├──
TextPhone│ │ │ │ ├──
TextImage│ │ │ │ └──
TextAnchor│ │ │ └── published_date →
int│ │ ├──
PageBlockHeader│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockSubheader│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockParagraph│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockPreformatted│ │ │ ├── text →
RichText│ │ │ │ ├──
TextEmpty│ │ │ │ ├──
TextPlain│ │ │ │ ├──
TextBold│ │ │ │ ├──
TextItalic│ │ │ │ ├──
TextUnderline│ │ │ │ ├──
TextStrike│ │ │ │ ├──
TextFixed│ │ │ │ ├──
TextUrl│ │ │ │ ├──
TextEmail│ │ │ │ ├──
TextConcat│ │ │ │ ├──
TextSubscript│ │ │ │ ├──
TextSuperscript│ │ │ │ ├──
TextMarked│ │ │ │ ├──
TextPhone│ │ │ │ ├──
TextImage│ │ │ │ └──
TextAnchor│ │ │ └── language →
string│ │ ├──
PageBlockFooter│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockDivider│ │ ├──
PageBlockAnchor│ │ │ └── name →
string│ │ ├──
PageBlockList│ │ │ └── items →
Vector < PageListItem >│ │ │ ├──
PageListItemText│ │ │ └──
PageListItemBlocks│ │ ├──
PageBlockBlockquote│ │ │ ├── text →
RichText│ │ │ │ ├──
TextEmpty│ │ │ │ ├──
TextPlain│ │ │ │ ├──
TextBold│ │ │ │ ├──
TextItalic│ │ │ │ ├──
TextUnderline│ │ │ │ ├──
TextStrike│ │ │ │ ├──
TextFixed│ │ │ │ ├──
TextUrl│ │ │ │ ├──
TextEmail│ │ │ │ ├──
TextConcat│ │ │ │ ├──
TextSubscript│ │ │ │ ├──
TextSuperscript│ │ │ │ ├──
TextMarked│ │ │ │ ├──
TextPhone│ │ │ │ ├──
TextImage│ │ │ │ └──
TextAnchor│ │ │ └── caption →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockPullquote│ │ │ ├── text →
RichText│ │ │ │ ├──
TextEmpty│ │ │ │ ├──
TextPlain│ │ │ │ ├──
TextBold│ │ │ │ ├──
TextItalic│ │ │ │ ├──
TextUnderline│ │ │ │ ├──
TextStrike│ │ │ │ ├──
TextFixed│ │ │ │ ├──
TextUrl│ │ │ │ ├──
TextEmail│ │ │ │ ├──
TextConcat│ │ │ │ ├──
TextSubscript│ │ │ │ ├──
TextSuperscript│ │ │ │ ├──
TextMarked│ │ │ │ ├──
TextPhone│ │ │ │ ├──
TextImage│ │ │ │ └──
TextAnchor│ │ │ └── caption →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockPhoto│ │ │ ├── photo_id →
long│ │ │ ├── caption →
PageCaption│ │ │ │ └──
PageCaption│ │ │ ├── url →
string (optional)│ │ │ └── webpage_id →
long (optional)│ │ ├──
PageBlockVideo│ │ │ ├── autoplay →
true (optional)│ │ │ ├── loop →
true (optional)│ │ │ ├── video_id →
long│ │ │ └── caption →
PageCaption│ │ │ └──
PageCaption│ │ ├──
PageBlockCover│ │ │ └── cover →
PageBlock│ │ │ ├──
PageBlockUnsupported│ │ │ ├──
PageBlockTitle│ │ │ ├──
PageBlockSubtitle│ │ │ ├──
PageBlockAuthorDate│ │ │ ├──
PageBlockHeader│ │ │ ├──
PageBlockSubheader│ │ │ ├──
PageBlockParagraph│ │ │ ├──
PageBlockPreformatted│ │ │ ├──
PageBlockFooter│ │ │ ├──
PageBlockDivider│ │ │ ├──
PageBlockAnchor│ │ │ ├──
PageBlockList│ │ │ ├──
PageBlockBlockquote│ │ │ ├──
PageBlockPullquote│ │ │ ├──
PageBlockPhoto│ │ │ ├──
PageBlockVideo│ │ │ ├──
PageBlockCover│ │ │ ├──
PageBlockEmbed│ │ │ ├──
PageBlockEmbedPost│ │ │ ├──
PageBlockCollage│ │ │ ├──
PageBlockSlideshow│ │ │ ├──
PageBlockChannel│ │ │ ├──
PageBlockAudio│ │ │ ├──
PageBlockKicker│ │ │ ├──
PageBlockTable│ │ │ ├──
PageBlockOrderedList│ │ │ ├──
PageBlockDetails│ │ │ ├──
PageBlockRelatedArticles│ │ │ └──
PageBlockMap│ │ ├──
PageBlockEmbed│ │ │ ├── full_width →
true (optional)│ │ │ ├── allow_scrolling →
true (optional)│ │ │ ├── url →
string (optional)│ │ │ ├── html →
string (optional)│ │ │ ├── poster_photo_id →
long (optional)│ │ │ ├── w →
int (optional)│ │ │ ├── h →
int (optional)│ │ │ └── caption →
PageCaption│ │ │ └──
PageCaption│ │ ├──
PageBlockEmbedPost│ │ │ ├── url →
string│ │ │ ├── webpage_id →
long│ │ │ ├── author_photo_id →
long│ │ │ ├── author →
string│ │ │ ├── date →
int│ │ │ ├── blocks →
Vector < PageBlock >│ │ │ │ ├──
PageBlockUnsupported│ │ │ │ ├──
PageBlockTitle│ │ │ │ ├──
PageBlockSubtitle│ │ │ │ ├──
PageBlockAuthorDate│ │ │ │ ├──
PageBlockHeader│ │ │ │ ├──
PageBlockSubheader│ │ │ │ ├──
PageBlockParagraph│ │ │ │ ├──
PageBlockPreformatted│ │ │ │ ├──
PageBlockFooter│ │ │ │ ├──
PageBlockDivider│ │ │ │ ├──
PageBlockAnchor│ │ │ │ ├──
PageBlockList│ │ │ │ ├──
PageBlockBlockquote│ │ │ │ ├──
PageBlockPullquote│ │ │ │ ├──
PageBlockPhoto│ │ │ │ ├──
PageBlockVideo│ │ │ │ ├──
PageBlockCover│ │ │ │ ├──
PageBlockEmbed│ │ │ │ ├──
PageBlockEmbedPost│ │ │ │ ├──
PageBlockCollage│ │ │ │ ├──
PageBlockSlideshow│ │ │ │ ├──
PageBlockChannel│ │ │ │ ├──
PageBlockAudio│ │ │ │ ├──
PageBlockKicker│ │ │ │ ├──
PageBlockTable│ │ │ │ ├──
PageBlockOrderedList│ │ │ │ ├──
PageBlockDetails│ │ │ │ ├──
PageBlockRelatedArticles│ │ │ │ └──
PageBlockMap│ │ │ └── caption →
PageCaption│ │ │ └──
PageCaption│ │ ├──
PageBlockCollage│ │ │ ├── items →
Vector < PageBlock >│ │ │ │ ├──
PageBlockUnsupported│ │ │ │ ├──
PageBlockTitle│ │ │ │ ├──
PageBlockSubtitle│ │ │ │ ├──
PageBlockAuthorDate│ │ │ │ ├──
PageBlockHeader│ │ │ │ ├──
PageBlockSubheader│ │ │ │ ├──
PageBlockParagraph│ │ │ │ ├──
PageBlockPreformatted│ │ │ │ ├──
PageBlockFooter│ │ │ │ ├──
PageBlockDivider│ │ │ │ ├──
PageBlockAnchor│ │ │ │ ├──
PageBlockList│ │ │ │ ├──
PageBlockBlockquote│ │ │ │ ├──
PageBlockPullquote│ │ │ │ ├──
PageBlockPhoto│ │ │ │ ├──
PageBlockVideo│ │ │ │ ├──
PageBlockCover│ │ │ │ ├──
PageBlockEmbed│ │ │ │ ├──
PageBlockEmbedPost│ │ │ │ ├──
PageBlockCollage│ │ │ │ ├──
PageBlockSlideshow│ │ │ │ ├──
PageBlockChannel│ │ │ │ ├──
PageBlockAudio│ │ │ │ ├──
PageBlockKicker│ │ │ │ ├──
PageBlockTable│ │ │ │ ├──
PageBlockOrderedList│ │ │ │ ├──
PageBlockDetails│ │ │ │ ├──
PageBlockRelatedArticles│ │ │ │ └──
PageBlockMap│ │ │ └── caption →
PageCaption│ │ │ └──
PageCaption│ │ ├──
PageBlockSlideshow│ │ │ ├── items →
Vector < PageBlock >│ │ │ │ ├──
PageBlockUnsupported│ │ │ │ ├──
PageBlockTitle│ │ │ │ ├──
PageBlockSubtitle│ │ │ │ ├──
PageBlockAuthorDate│ │ │ │ ├──
PageBlockHeader│ │ │ │ ├──
PageBlockSubheader│ │ │ │ ├──
PageBlockParagraph│ │ │ │ ├──
PageBlockPreformatted│ │ │ │ ├──
PageBlockFooter│ │ │ │ ├──
PageBlockDivider│ │ │ │ ├──
PageBlockAnchor│ │ │ │ ├──
PageBlockList│ │ │ │ ├──
PageBlockBlockquote│ │ │ │ ├──
PageBlockPullquote│ │ │ │ ├──
PageBlockPhoto│ │ │ │ ├──
PageBlockVideo│ │ │ │ ├──
PageBlockCover│ │ │ │ ├──
PageBlockEmbed│ │ │ │ ├──
PageBlockEmbedPost│ │ │ │ ├──
PageBlockCollage│ │ │ │ ├──
PageBlockSlideshow│ │ │ │ ├──
PageBlockChannel│ │ │ │ ├──
PageBlockAudio│ │ │ │ ├──
PageBlockKicker│ │ │ │ ├──
PageBlockTable│ │ │ │ ├──
PageBlockOrderedList│ │ │ │ ├──
PageBlockDetails│ │ │ │ ├──
PageBlockRelatedArticles│ │ │ │ └──
PageBlockMap│ │ │ └── caption →
PageCaption│ │ │ └──
PageCaption│ │ ├──
PageBlockChannel│ │ │ └── channel →
Chat│ │ │ ├──
ChatEmpty│ │ │ ├──
Chat│ │ │ ├──
ChatForbidden│ │ │ ├──
Channel│ │ │ └──
ChannelForbidden│ │ ├──
PageBlockAudio│ │ │ ├── audio_id →
long│ │ │ └── caption →
PageCaption│ │ │ └──
PageCaption│ │ ├──
PageBlockKicker│ │ │ └── text →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockTable│ │ │ ├── bordered →
true (optional)│ │ │ ├── striped →
true (optional)│ │ │ ├── title →
RichText│ │ │ │ ├──
TextEmpty│ │ │ │ ├──
TextPlain│ │ │ │ ├──
TextBold│ │ │ │ ├──
TextItalic│ │ │ │ ├──
TextUnderline│ │ │ │ ├──
TextStrike│ │ │ │ ├──
TextFixed│ │ │ │ ├──
TextUrl│ │ │ │ ├──
TextEmail│ │ │ │ ├──
TextConcat│ │ │ │ ├──
TextSubscript│ │ │ │ ├──
TextSuperscript│ │ │ │ ├──
TextMarked│ │ │ │ ├──
TextPhone│ │ │ │ ├──
TextImage│ │ │ │ └──
TextAnchor│ │ │ └── rows →
Vector < PageTableRow >│ │ │ └──
PageTableRow│ │ ├──
PageBlockOrderedList│ │ │ └── items →
Vector < PageListOrderedItem >│ │ │ ├──
PageListOrderedItemText│ │ │ └──
PageListOrderedItemBlocks│ │ ├──
PageBlockDetails│ │ │ ├── open →
true (optional)│ │ │ ├── blocks →
Vector < PageBlock >│ │ │ │ ├──
PageBlockUnsupported│ │ │ │ ├──
PageBlockTitle│ │ │ │ ├──
PageBlockSubtitle│ │ │ │ ├──
PageBlockAuthorDate│ │ │ │ ├──
PageBlockHeader│ │ │ │ ├──
PageBlockSubheader│ │ │ │ ├──
PageBlockParagraph│ │ │ │ ├──
PageBlockPreformatted│ │ │ │ ├──
PageBlockFooter│ │ │ │ ├──
PageBlockDivider│ │ │ │ ├──
PageBlockAnchor│ │ │ │ ├──
PageBlockList│ │ │ │ ├──
PageBlockBlockquote│ │ │ │ ├──
PageBlockPullquote│ │ │ │ ├──
PageBlockPhoto│ │ │ │ ├──
PageBlockVideo│ │ │ │ ├──
PageBlockCover│ │ │ │ ├──
PageBlockEmbed│ │ │ │ ├──
PageBlockEmbedPost│ │ │ │ ├──
PageBlockCollage│ │ │ │ ├──
PageBlockSlideshow│ │ │ │ ├──
PageBlockChannel│ │ │ │ ├──
PageBlockAudio│ │ │ │ ├──
PageBlockKicker│ │ │ │ ├──
PageBlockTable│ │ │ │ ├──
PageBlockOrderedList│ │ │ │ ├──
PageBlockDetails│ │ │ │ ├──
PageBlockRelatedArticles│ │ │ │ └──
PageBlockMap│ │ │ └── title →
RichText│ │ │ ├──
TextEmpty│ │ │ ├──
TextPlain│ │ │ ├──
TextBold│ │ │ ├──
TextItalic│ │ │ ├──
TextUnderline│ │ │ ├──
TextStrike│ │ │ ├──
TextFixed│ │ │ ├──
TextUrl│ │ │ ├──
TextEmail│ │ │ ├──
TextConcat│ │ │ ├──
TextSubscript│ │ │ ├──
TextSuperscript│ │ │ ├──
TextMarked│ │ │ ├──
TextPhone│ │ │ ├──
TextImage│ │ │ └──
TextAnchor│ │ ├──
PageBlockRelatedArticles│ │ │ ├── title →
RichText│ │ │ │ ├──
TextEmpty│ │ │ │ ├──
TextPlain│ │ │ │ ├──
TextBold│ │ │ │ ├──
TextItalic│ │ │ │ ├──
TextUnderline│ │ │ │ ├──
TextStrike│ │ │ │ ├──
TextFixed│ │ │ │ ├──
TextUrl│ │ │ │ ├──
TextEmail│ │ │ │ ├──
TextConcat│ │ │ │ ├──
TextSubscript│ │ │ │ ├──
TextSuperscript│ │ │ │ ├──
TextMarked│ │ │ │ ├──
TextPhone│ │ │ │ ├──
TextImage│ │ │ │ └──
TextAnchor│ │ │ └── articles →
Vector < PageRelatedArticle >│ │ │ └──
PageRelatedArticle│ │ └──
PageBlockMap│ │ ├── geo →
GeoPoint│ │ │ ├──
GeoPointEmpty│ │ │ └──
GeoPoint│ │ ├── zoom →
int│ │ ├── w →
int│ │ ├── h →
int│ │ └── caption →
PageCaption│ │ └──
PageCaption│ ├── photos →
Vector < Photo >│ │ ├──
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│ ├── documents →
Vector < 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│ └── views →
int (optional)└── attributes →
Vector < WebPageAttribute > (optional)│ ├── documents →
Vector < 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│ └── settings →
ThemeSettings (optional)│ └──
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│ ├── peer →
Peer│ │ ├──
PeerUser│ │ │ └── user_id →
long│ │ ├──
PeerChat│ │ │ └── chat_id →
long│ │ └──
PeerChannel│ │ └── channel_id →
long│ ├── id →
int│ └── story →
StoryItem (optional)│ ├──
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)│ ├── emojis →
true (optional)│ ├── text_color →
true (optional)│ └── stickers →
Vector < 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 >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio│ └── 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)│ └── icons →
Vector < 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 >│ ├──
DocumentAttributeSticker│ ├──
DocumentAttributeVideo│ ├──
DocumentAttributeAudio├── 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)└── end_date →
intExample
WebPage(
has_large_media=None,
video_cover_photo=None,
id=0,
url="https://google.com",
display_url="text",
hash=0,
type="text",
site_name="text",
title="text",
description="text",
photo=PhotoEmpty(id=0),
embed_url="text",
embed_type="text",
embed_width=0,
embed_height=0,
duration=0,
author="text",
document=DocumentEmpty(id=0),
cached_page=Page(
part=None,
rtl=None,
v2=None,
url="https://google.com",
blocks=[
PageBlockUnsupported()
],
photos=[
PhotoEmpty(id=0)
],
documents=[
DocumentEmpty(id=0)
],
views=None
),
attributes=[
WebPageAttributeTheme(
documents=None,
settings=None
)
],
)