UpdateWebPage

class pyrogram.raw.types.UpdateWebPage

An instant view webpage preview was generated

Constructor of Update.

Details:
  • Layer: 227

  • ID: 7F891213

Parameters:
  • webpage (WebPage) – Webpage preview

  • pts (int 32-bit) – Event count after generation

  • pts_count (int 32-bit) – Number of events that were generated

TL Schema

updateWebPage#7f891213
webpage:WebPage
pts:int
pts_count:int

= Update

Parameter Tree

UpdateWebPage
├── webpage → WebPage
│ ├── WebPageEmpty
│ │ ├── id → long
│ │ └── url → string (optional)
│ ├── WebPagePending
│ │ ├── id → long
│ │ ├── url → string (optional)
│ │ └── date → int
│ ├── 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
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_sizes → Vector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ └── 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
│ │ │ │ ├── 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
│ │ ├── cached_page → Page (optional)
│ │ │ └── Page
│ │ │ ├── part → true (optional)
│ │ │ ├── rtl → true (optional)
│ │ │ ├── v2 → true (optional)
│ │ │ ├── url → string
│ │ │ ├── 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
│ │ │ │ ├── PageBlockHeading1
│ │ │ │ ├── PageBlockHeading2
│ │ │ │ ├── PageBlockHeading3
│ │ │ │ ├── PageBlockHeading4
│ │ │ │ ├── PageBlockHeading5
│ │ │ │ ├── PageBlockHeading6
│ │ │ │ ├── PageBlockMath
│ │ │ │ ├── PageBlockThinking
│ │ │ │ ├── InputPageBlockMap
│ │ │ │ └── PageBlockBlockquoteBlocks
│ │ │ ├── photos → Vector < Photo >
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── documents → Vector < Document >
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── views → int (optional)
│ │ └── attributes → Vector < WebPageAttribute > (optional)
│ │ ├── WebPageAttributeTheme
│ │ │ ├── documents → Vector < Document > (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── settings → ThemeSettings (optional)
│ │ │ └── ThemeSettings
│ │ ├── WebPageAttributeStory
│ │ │ ├── peer → Peer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── id → int
│ │ │ └── story → StoryItem (optional)
│ │ │ ├── StoryItemDeleted
│ │ │ ├── StoryItemSkipped
│ │ │ └── StoryItem
│ │ ├── WebPageAttributeStickerSet
│ │ │ ├── emojis → true (optional)
│ │ │ ├── text_color → true (optional)
│ │ │ └── stickers → Vector < Document >
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ │ └── gift → StarGift
│ │ │ ├── StarGift
│ │ │ └── StarGiftUnique
│ │ │ └── icons → Vector < Document >
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ │ ├── gift → StarGift
│ │ │ │ ├── StarGift
│ │ │ │ └── StarGiftUnique
│ │ │ └── end_date → int
│ │ └── emoji_id → long
│ └── WebPageNotModified
│ └── cached_page_views → int (optional)
├── pts → int
└── pts_count → int

Example

UpdateWebPage(
    webpage=WebPageEmpty(id=0),
    pts=0,
    pts_count=0,
)