WebPage

class pyrogram.raw.types.WebPage

Webpage preview

Constructor of WebPage.

Details:
  • Layer: 223

  • ID: E89C45B2

Parameters:
  • id (int 64-bit) – Preview ID

  • url (str) – URL of previewed webpage

  • display_url (str) – Webpage URL to be displayed to the user

  • hash (int 32-bit) – Hash used for caching, for more info click here

  • has_large_media (bool, optional) – Whether the size of the media in the preview can be changed.

  • video_cover_photo (bool, optional) – Represents a custom video cover.

  • type (str, optional) – Type of the web page. One of the following: - app- article- document- gif- photo- profile- telegram_album- telegram_auction- telegram_background- telegram_bot- telegram_botapp- telegram_call- telegram_channel- telegram_channel_boost- telegram_channel_direct- telegram_channel_request- telegram_chat- telegram_chat_request- telegram_chatlist- telegram_collection- telegram_community- telegram_giftcode- telegram_group_boost- telegram_livestream- telegram_megagroup- telegram_megagroup_request- telegram_message- telegram_nft- telegram_stickerset- telegram_story- telegram_story_album- telegram_theme- telegram_user- telegram_videochat- telegram_voicechat- video

  • site_name (str, optional) – Short name of the site (e.g., Google Docs, App Store)

  • title (str, optional) – Title of the content

  • description (str, optional) – Content description

  • photo (Photo, optional) – Image representing the content

  • embed_url (str, optional) – URL to show in the embedded preview

  • embed_type (str, optional) – MIME type of the embedded preview, (e.g., text/html or video/mp4)

  • embed_width (int 32-bit, optional) – Width of the embedded preview

  • embed_height (int 32-bit, optional) – Height of the embedded preview

  • duration (int 32-bit, optional) – Duration of the content, in seconds

  • author (str, optional) – Author of the content

  • document (Document, optional) – Preview of the content as a media file

  • cached_page (Page, optional) – Page contents in instant view format

  • attributes (List of WebPageAttribute, optional) – Webpage attributes

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(
    id=0,
    url="https://google.com",
    display_url="text",
    hash=0,
)