WebPage

class pyrogram.raw.base.WebPage

Instant View webpage preview

Constructors:

This base type has 4 constructors available.

WebPage

Webpage preview

WebPageEmpty

No preview is available for the webpage

WebPageNotModified

The preview of the webpage hasn't changed

WebPagePending

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_mediatrue (optional)
├── video_cover_phototrue (optional)
├── idlong
├── urlstring
├── display_urlstring
├── hashint
├── typestring (optional)
├── site_namestring (optional)
├── titlestring (optional)
├── descriptionstring (optional)
├── photoPhoto (optional)
│ ├── PhotoEmpty
│ │ └── idlong
│ └── Photo
│ ├── has_stickerstrue (optional)
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── sizesVector < PhotoSize >
│ │ ├── PhotoSizeEmpty
│ │ │ └── typestring
│ │ ├── PhotoSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizeint
│ │ ├── PhotoCachedSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── bytesbytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── typestring
│ │ │ └── bytesbytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizesVector < int >
│ │ └── PhotoPathSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── video_sizesVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ ├── sizeint
│ │ │ └── video_start_tsdouble (optional)
│ │ ├── VideoSizeEmojiMarkup
│ │ │ ├── emoji_idlong
│ │ │ └── background_colorsVector < int >
│ │ └── VideoSizeStickerMarkup
│ │ ├── stickersetInputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ ├── sticker_idlong
│ │ └── background_colorsVector < int >
│ └── dc_idint
├── embed_urlstring (optional)
├── embed_typestring (optional)
├── embed_widthint (optional)
├── embed_heightint (optional)
├── durationint (optional)
├── authorstring (optional)
├── documentDocument (optional)
│ ├── DocumentEmpty
│ │ └── idlong
│ └── Document
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── mime_typestring
│ ├── sizelong
│ ├── thumbsVector < PhotoSize > (optional)
│ │ ├── PhotoSizeEmpty
│ │ │ └── typestring
│ │ ├── PhotoSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizeint
│ │ ├── PhotoCachedSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── bytesbytes
│ │ ├── PhotoStrippedSize
│ │ │ ├── typestring
│ │ │ └── bytesbytes
│ │ ├── PhotoSizeProgressive
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ └── sizesVector < int >
│ │ └── PhotoPathSize
│ │ ├── typestring
│ │ └── bytesbytes
│ ├── video_thumbsVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ │ ├── typestring
│ │ │ ├── wint
│ │ │ ├── hint
│ │ │ ├── sizeint
│ │ │ └── video_start_tsdouble (optional)
│ │ ├── VideoSizeEmojiMarkup
│ │ │ ├── emoji_idlong
│ │ │ └── background_colorsVector < int >
│ │ └── VideoSizeStickerMarkup
│ │ ├── stickersetInputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ ├── sticker_idlong
│ │ └── background_colorsVector < int >
│ ├── dc_idint
│ └── attributesVector < DocumentAttribute >
│ │ ├── wint
│ │ └── hint
│ │ ├── masktrue (optional)
│ │ ├── altstring
│ │ ├── stickersetInputStickerSet
│ │ │ ├── InputStickerSetEmpty
│ │ │ ├── InputStickerSetID
│ │ │ ├── InputStickerSetShortName
│ │ │ ├── InputStickerSetAnimatedEmoji
│ │ │ ├── InputStickerSetDice
│ │ │ ├── InputStickerSetPremiumGifts
│ │ │ └── InputStickerSetTonGifts
│ │ └── mask_coordsMaskCoords (optional)
│ │ └── MaskCoords
│ │ ├── round_messagetrue (optional)
│ │ ├── supports_streamingtrue (optional)
│ │ ├── nosoundtrue (optional)
│ │ ├── durationdouble
│ │ ├── wint
│ │ ├── hint
│ │ ├── preload_prefix_sizeint (optional)
│ │ ├── video_start_tsdouble (optional)
│ │ └── video_codecstring (optional)
│ │ ├── voicetrue (optional)
│ │ ├── durationint
│ │ ├── titlestring (optional)
│ │ ├── performerstring (optional)
│ │ └── waveformbytes (optional)
│ │ └── file_namestring
│ ├── freetrue (optional)
│ ├── text_colortrue (optional)
│ ├── altstring
│ └── stickersetInputStickerSet
│ ├── InputStickerSetEmpty
│ ├── InputStickerSetID
│ ├── InputStickerSetDice
├── cached_pagePage (optional)
│ └── Page
│ ├── parttrue (optional)
│ ├── rtltrue (optional)
│ ├── v2true (optional)
│ ├── urlstring
│ ├── blocksVector < PageBlock >
│ │ ├── PageBlockUnsupported
│ │ ├── PageBlockTitle
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockSubtitle
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockAuthorDate
│ │ │ ├── authorRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── published_dateint
│ │ ├── PageBlockHeader
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockSubheader
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockParagraph
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockPreformatted
│ │ │ ├── textRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── languagestring
│ │ ├── PageBlockFooter
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockDivider
│ │ ├── PageBlockAnchor
│ │ │ └── namestring
│ │ ├── PageBlockList
│ │ │ └── itemsVector < PageListItem >
│ │ │ ├── PageListItemText
│ │ │ └── PageListItemBlocks
│ │ ├── PageBlockBlockquote
│ │ │ ├── textRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── captionRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockPullquote
│ │ │ ├── textRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── captionRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockPhoto
│ │ │ ├── photo_idlong
│ │ │ ├── captionPageCaption
│ │ │ │ └── PageCaption
│ │ │ ├── urlstring (optional)
│ │ │ └── webpage_idlong (optional)
│ │ ├── PageBlockVideo
│ │ │ ├── autoplaytrue (optional)
│ │ │ ├── looptrue (optional)
│ │ │ ├── video_idlong
│ │ │ └── captionPageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockCover
│ │ │ └── coverPageBlock
│ │ │ ├── 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_widthtrue (optional)
│ │ │ ├── allow_scrollingtrue (optional)
│ │ │ ├── urlstring (optional)
│ │ │ ├── htmlstring (optional)
│ │ │ ├── poster_photo_idlong (optional)
│ │ │ ├── wint (optional)
│ │ │ ├── hint (optional)
│ │ │ └── captionPageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockEmbedPost
│ │ │ ├── urlstring
│ │ │ ├── webpage_idlong
│ │ │ ├── author_photo_idlong
│ │ │ ├── authorstring
│ │ │ ├── dateint
│ │ │ ├── blocksVector < 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
│ │ │ └── captionPageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockCollage
│ │ │ ├── itemsVector < 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
│ │ │ └── captionPageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockSlideshow
│ │ │ ├── itemsVector < 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
│ │ │ └── captionPageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockChannel
│ │ │ └── channelChat
│ │ │ ├── ChatEmpty
│ │ │ ├── Chat
│ │ │ ├── ChatForbidden
│ │ │ ├── Channel
│ │ │ └── ChannelForbidden
│ │ ├── PageBlockAudio
│ │ │ ├── audio_idlong
│ │ │ └── captionPageCaption
│ │ │ └── PageCaption
│ │ ├── PageBlockKicker
│ │ │ └── textRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockTable
│ │ │ ├── borderedtrue (optional)
│ │ │ ├── stripedtrue (optional)
│ │ │ ├── titleRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── rowsVector < PageTableRow >
│ │ │ └── PageTableRow
│ │ ├── PageBlockOrderedList
│ │ │ └── itemsVector < PageListOrderedItem >
│ │ │ ├── PageListOrderedItemText
│ │ │ └── PageListOrderedItemBlocks
│ │ ├── PageBlockDetails
│ │ │ ├── opentrue (optional)
│ │ │ ├── blocksVector < 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
│ │ │ └── titleRichText
│ │ │ ├── TextEmpty
│ │ │ ├── TextPlain
│ │ │ ├── TextBold
│ │ │ ├── TextItalic
│ │ │ ├── TextUnderline
│ │ │ ├── TextStrike
│ │ │ ├── TextFixed
│ │ │ ├── TextUrl
│ │ │ ├── TextEmail
│ │ │ ├── TextConcat
│ │ │ ├── TextSubscript
│ │ │ ├── TextSuperscript
│ │ │ ├── TextMarked
│ │ │ ├── TextPhone
│ │ │ ├── TextImage
│ │ │ └── TextAnchor
│ │ ├── PageBlockRelatedArticles
│ │ │ ├── titleRichText
│ │ │ │ ├── TextEmpty
│ │ │ │ ├── TextPlain
│ │ │ │ ├── TextBold
│ │ │ │ ├── TextItalic
│ │ │ │ ├── TextUnderline
│ │ │ │ ├── TextStrike
│ │ │ │ ├── TextFixed
│ │ │ │ ├── TextUrl
│ │ │ │ ├── TextEmail
│ │ │ │ ├── TextConcat
│ │ │ │ ├── TextSubscript
│ │ │ │ ├── TextSuperscript
│ │ │ │ ├── TextMarked
│ │ │ │ ├── TextPhone
│ │ │ │ ├── TextImage
│ │ │ │ └── TextAnchor
│ │ │ └── articlesVector < PageRelatedArticle >
│ │ │ └── PageRelatedArticle
│ │ └── PageBlockMap
│ │ ├── geoGeoPoint
│ │ │ ├── GeoPointEmpty
│ │ │ └── GeoPoint
│ │ ├── zoomint
│ │ ├── wint
│ │ ├── hint
│ │ └── captionPageCaption
│ │ └── PageCaption
│ ├── photosVector < Photo >
│ │ ├── PhotoEmpty
│ │ │ └── idlong
│ │ └── Photo
│ │ ├── has_stickerstrue (optional)
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── file_referencebytes
│ │ ├── dateint
│ │ ├── sizesVector < PhotoSize >
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_sizesVector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ └── dc_idint
│ ├── documentsVector < Document >
│ │ ├── DocumentEmpty
│ │ │ └── idlong
│ │ └── Document
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── file_referencebytes
│ │ ├── dateint
│ │ ├── mime_typestring
│ │ ├── sizelong
│ │ ├── thumbsVector < PhotoSize > (optional)
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ ├── dc_idint
│ │ └── attributesVector < DocumentAttribute >
│ │ ├── DocumentAttributeImageSize
│ │ ├── DocumentAttributeAnimated
│ │ ├── DocumentAttributeSticker
│ │ ├── DocumentAttributeVideo
│ │ ├── DocumentAttributeAudio
│ │ ├── DocumentAttributeFilename
│ └── viewsint (optional)
└── attributesVector < WebPageAttribute > (optional)
│ ├── documentsVector < Document > (optional)
│ │ ├── DocumentEmpty
│ │ │ └── idlong
│ │ └── Document
│ │ ├── idlong
│ │ ├── access_hashlong
│ │ ├── file_referencebytes
│ │ ├── dateint
│ │ ├── mime_typestring
│ │ ├── sizelong
│ │ ├── thumbsVector < PhotoSize > (optional)
│ │ │ ├── PhotoSizeEmpty
│ │ │ ├── PhotoSize
│ │ │ ├── PhotoCachedSize
│ │ │ ├── PhotoStrippedSize
│ │ │ ├── PhotoSizeProgressive
│ │ │ └── PhotoPathSize
│ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ ├── VideoSize
│ │ │ ├── VideoSizeEmojiMarkup
│ │ │ └── VideoSizeStickerMarkup
│ │ ├── dc_idint
│ │ └── attributesVector < DocumentAttribute >
│ │ ├── DocumentAttributeImageSize
│ │ ├── DocumentAttributeAnimated
│ │ ├── DocumentAttributeSticker
│ │ ├── DocumentAttributeVideo
│ │ ├── DocumentAttributeAudio
│ │ ├── DocumentAttributeFilename
│ └── settingsThemeSettings (optional)
│ └── ThemeSettings
│ ├── message_colors_animatedtrue (optional)
│ ├── base_themeBaseTheme
│ │ ├── BaseThemeClassic
│ │ ├── BaseThemeDay
│ │ ├── BaseThemeNight
│ │ ├── BaseThemeTinted
│ │ └── BaseThemeArctic
│ ├── accent_colorint
│ ├── outbox_accent_colorint (optional)
│ ├── message_colorsVector < int > (optional)
│ └── wallpaperWallPaper (optional)
│ ├── WallPaper
│ └── WallPaperNoFile
│ ├── peerPeer
│ │ ├── PeerUser
│ │ │ └── user_idlong
│ │ ├── PeerChat
│ │ │ └── chat_idlong
│ │ └── PeerChannel
│ │ └── channel_idlong
│ ├── idint
│ └── storyStoryItem (optional)
│ ├── StoryItemDeleted
│ │ └── idint
│ ├── StoryItemSkipped
│ │ ├── close_friendstrue (optional)
│ │ ├── livetrue (optional)
│ │ ├── idint
│ │ ├── dateint
│ │ └── expire_dateint
│ └── StoryItem
│ ├── pinnedtrue (optional)
│ ├── publictrue (optional)
│ ├── close_friendstrue (optional)
│ ├── mintrue (optional)
│ ├── noforwardstrue (optional)
│ ├── editedtrue (optional)
│ ├── contactstrue (optional)
│ ├── selected_contactstrue (optional)
│ ├── outtrue (optional)
│ ├── idint
│ ├── dateint
│ ├── from_idPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── fwd_fromStoryFwdHeader (optional)
│ │ └── StoryFwdHeader
│ ├── expire_dateint
│ ├── captionstring (optional)
│ ├── entitiesVector < MessageEntity > (optional)
│ │ ├── MessageEntityUnknown
│ │ ├── MessageEntityMention
│ │ ├── MessageEntityHashtag
│ │ ├── MessageEntityBotCommand
│ │ ├── MessageEntityUrl
│ │ ├── MessageEntityEmail
│ │ ├── MessageEntityBold
│ │ ├── MessageEntityItalic
│ │ ├── MessageEntityCode
│ │ ├── MessageEntityPre
│ │ ├── MessageEntityTextUrl
│ │ ├── MessageEntityMentionName
│ │ ├── MessageEntityPhone
│ │ ├── MessageEntityCashtag
│ │ ├── MessageEntityUnderline
│ │ ├── MessageEntityStrike
│ │ ├── MessageEntityBankCard
│ │ ├── MessageEntitySpoiler
│ │ ├── MessageEntityCustomEmoji
│ │ ├── MessageEntityBlockquote
│ │ └── MessageEntityFormattedDate
│ ├── mediaMessageMedia
│ │ ├── MessageMediaEmpty
│ │ ├── MessageMediaPhoto
│ │ ├── MessageMediaGeo
│ │ ├── MessageMediaContact
│ │ ├── MessageMediaUnsupported
│ │ ├── MessageMediaDocument
│ │ ├── MessageMediaWebPage
│ │ ├── MessageMediaVenue
│ │ ├── MessageMediaGame
│ │ ├── MessageMediaInvoice
│ │ ├── MessageMediaGeoLive
│ │ ├── MessageMediaPoll
│ │ ├── MessageMediaDice
│ │ ├── MessageMediaStory
│ │ ├── MessageMediaGiveaway
│ │ ├── MessageMediaGiveawayResults
│ │ ├── MessageMediaPaidMedia
│ │ ├── MessageMediaToDo
│ │ └── MessageMediaVideoStream
│ ├── media_areasVector < MediaArea > (optional)
│ │ ├── MediaAreaVenue
│ │ ├── InputMediaAreaVenue
│ │ ├── MediaAreaGeoPoint
│ │ ├── MediaAreaSuggestedReaction
│ │ ├── MediaAreaChannelPost
│ │ ├── InputMediaAreaChannelPost
│ │ ├── MediaAreaUrl
│ │ ├── MediaAreaWeather
│ │ └── MediaAreaStarGift
│ ├── privacyVector < PrivacyRule > (optional)
│ │ ├── PrivacyValueAllowContacts
│ │ ├── PrivacyValueAllowAll
│ │ ├── PrivacyValueAllowUsers
│ │ ├── PrivacyValueDisallowAll
│ │ ├── PrivacyValueDisallowUsers
│ │ ├── PrivacyValueAllowPremium
│ │ ├── PrivacyValueAllowBots
│ │ └── PrivacyValueDisallowBots
│ ├── viewsStoryViews (optional)
│ │ └── StoryViews
│ ├── sent_reactionReaction (optional)
│ │ ├── ReactionEmpty
│ │ ├── ReactionEmoji
│ │ ├── ReactionCustomEmoji
│ │ └── ReactionPaid
│ └── albumsVector < int > (optional)
│ ├── emojistrue (optional)
│ ├── text_colortrue (optional)
│ └── stickersVector < Document >
│ ├── DocumentEmpty
│ │ └── idlong
│ └── Document
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── mime_typestring
│ ├── sizelong
│ ├── thumbsVector < PhotoSize > (optional)
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_thumbsVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ ├── dc_idint
│ └── attributesVector < DocumentAttribute >
│ └── giftStarGift
│ ├── StarGift
│ │ ├── limitedtrue (optional)
│ │ ├── sold_outtrue (optional)
│ │ ├── birthdaytrue (optional)
│ │ ├── require_premiumtrue (optional)
│ │ ├── limited_per_usertrue (optional)
│ │ ├── peer_color_availabletrue (optional)
│ │ ├── auctiontrue (optional)
│ │ ├── idlong
│ │ ├── stickerDocument
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── starslong
│ │ ├── availability_remainsint (optional)
│ │ ├── availability_totalint (optional)
│ │ ├── availability_resalelong (optional)
│ │ ├── convert_starslong
│ │ ├── first_sale_dateint (optional)
│ │ ├── last_sale_dateint (optional)
│ │ ├── upgrade_starslong (optional)
│ │ ├── resell_min_starslong (optional)
│ │ ├── titlestring (optional)
│ │ ├── released_byPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── per_user_totalint (optional)
│ │ ├── per_user_remainsint (optional)
│ │ ├── locked_until_dateint (optional)
│ │ ├── auction_slugstring (optional)
│ │ ├── gifts_per_roundint (optional)
│ │ ├── auction_start_dateint (optional)
│ │ ├── upgrade_variantsint (optional)
│ │ └── backgroundStarGiftBackground (optional)
│ │ └── StarGiftBackground
│ └── StarGiftUnique
│ ├── require_premiumtrue (optional)
│ ├── resale_ton_onlytrue (optional)
│ ├── theme_availabletrue (optional)
│ ├── burnedtrue (optional)
│ ├── craftedtrue (optional)
│ ├── idlong
│ ├── gift_idlong
│ ├── titlestring
│ ├── slugstring
│ ├── numint
│ ├── owner_idPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── owner_namestring (optional)
│ ├── owner_addressstring (optional)
│ ├── attributesVector < StarGiftAttribute >
│ │ ├── StarGiftAttributeModel
│ │ ├── StarGiftAttributePattern
│ │ ├── StarGiftAttributeBackdrop
│ ├── availability_issuedint
│ ├── availability_totalint
│ ├── gift_addressstring (optional)
│ ├── resell_amountVector < StarsAmount > (optional)
│ │ ├── StarsAmount
│ │ └── StarsTonAmount
│ ├── released_byPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── value_amountlong (optional)
│ ├── value_currencystring (optional)
│ ├── value_usd_amountlong (optional)
│ ├── theme_peerPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── peer_colorPeerColor (optional)
│ │ ├── PeerColor
│ │ ├── PeerColorCollectible
│ │ └── InputPeerColorCollectible
│ ├── host_idPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── offer_min_starsint (optional)
│ └── craft_chance_permilleint (optional)
│ └── iconsVector < Document >
│ ├── DocumentEmpty
│ │ └── idlong
│ └── Document
│ ├── idlong
│ ├── access_hashlong
│ ├── file_referencebytes
│ ├── dateint
│ ├── mime_typestring
│ ├── sizelong
│ ├── thumbsVector < PhotoSize > (optional)
│ │ ├── PhotoSizeEmpty
│ │ ├── PhotoSize
│ │ ├── PhotoCachedSize
│ │ ├── PhotoStrippedSize
│ │ ├── PhotoSizeProgressive
│ │ └── PhotoPathSize
│ ├── video_thumbsVector < VideoSize > (optional)
│ │ ├── VideoSize
│ │ ├── VideoSizeEmojiMarkup
│ │ └── VideoSizeStickerMarkup
│ ├── dc_idint
│ └── attributesVector < DocumentAttribute >
├── giftStarGift
│ ├── StarGift
│ │ ├── limitedtrue (optional)
│ │ ├── sold_outtrue (optional)
│ │ ├── birthdaytrue (optional)
│ │ ├── require_premiumtrue (optional)
│ │ ├── limited_per_usertrue (optional)
│ │ ├── peer_color_availabletrue (optional)
│ │ ├── auctiontrue (optional)
│ │ ├── idlong
│ │ ├── stickerDocument
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── starslong
│ │ ├── availability_remainsint (optional)
│ │ ├── availability_totalint (optional)
│ │ ├── availability_resalelong (optional)
│ │ ├── convert_starslong
│ │ ├── first_sale_dateint (optional)
│ │ ├── last_sale_dateint (optional)
│ │ ├── upgrade_starslong (optional)
│ │ ├── resell_min_starslong (optional)
│ │ ├── titlestring (optional)
│ │ ├── released_byPeer (optional)
│ │ │ ├── PeerUser
│ │ │ ├── PeerChat
│ │ │ └── PeerChannel
│ │ ├── per_user_totalint (optional)
│ │ ├── per_user_remainsint (optional)
│ │ ├── locked_until_dateint (optional)
│ │ ├── auction_slugstring (optional)
│ │ ├── gifts_per_roundint (optional)
│ │ ├── auction_start_dateint (optional)
│ │ ├── upgrade_variantsint (optional)
│ │ └── backgroundStarGiftBackground (optional)
│ │ └── StarGiftBackground
│ └── StarGiftUnique
│ ├── require_premiumtrue (optional)
│ ├── resale_ton_onlytrue (optional)
│ ├── theme_availabletrue (optional)
│ ├── burnedtrue (optional)
│ ├── craftedtrue (optional)
│ ├── idlong
│ ├── gift_idlong
│ ├── titlestring
│ ├── slugstring
│ ├── numint
│ ├── owner_idPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── owner_namestring (optional)
│ ├── owner_addressstring (optional)
│ ├── attributesVector < StarGiftAttribute >
│ │ ├── StarGiftAttributeModel
│ │ ├── StarGiftAttributePattern
│ │ ├── StarGiftAttributeBackdrop
│ ├── availability_issuedint
│ ├── availability_totalint
│ ├── gift_addressstring (optional)
│ ├── resell_amountVector < StarsAmount > (optional)
│ │ ├── StarsAmount
│ │ └── StarsTonAmount
│ ├── released_byPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── value_amountlong (optional)
│ ├── value_currencystring (optional)
│ ├── value_usd_amountlong (optional)
│ ├── theme_peerPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── peer_colorPeerColor (optional)
│ │ ├── PeerColor
│ │ ├── PeerColorCollectible
│ │ └── InputPeerColorCollectible
│ ├── host_idPeer (optional)
│ │ ├── PeerUser
│ │ ├── PeerChat
│ │ └── PeerChannel
│ ├── offer_min_starsint (optional)
│ └── craft_chance_permilleint (optional)
└── end_dateint

Example

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
            )
        ],
)