UpdateChannelWebPage

class pyrogram.raw.types.UpdateChannelWebPage

A webpage preview of a link in a channel/supergroup message was generated

Constructor of Update.

Details:
  • Layer: 223

  • ID: 2F2BA99F

Parameters:
  • channel_id (int 64-bit) – Channel/supergroup ID

  • webpage (WebPage) – Generated webpage preview

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

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

TL Schema

updateChannelWebPage#2f2ba99f
channel_id:long
webpage:WebPage
pts:int
pts_count:int

= Update

Parameter Tree

UpdateChannelWebPage
├── channel_idlong
├── webpageWebPage
│ ├── WebPageEmpty
│ │ ├── idlong
│ │ └── urlstring (optional)
│ ├── WebPagePending
│ │ ├── idlong
│ │ ├── urlstring (optional)
│ │ └── dateint
│ ├── 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
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_sizesVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ └── 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
│ │ │ │ ├── PhotoSize
│ │ │ │ ├── PhotoCachedSize
│ │ │ │ ├── PhotoStrippedSize
│ │ │ │ ├── PhotoSizeProgressive
│ │ │ │ └── PhotoPathSize
│ │ │ ├── video_thumbsVector < VideoSize > (optional)
│ │ │ │ ├── VideoSize
│ │ │ │ ├── VideoSizeEmojiMarkup
│ │ │ │ └── VideoSizeStickerMarkup
│ │ │ ├── dc_idint
│ │ │ └── attributesVector < DocumentAttribute >
│ │ │ ├── DocumentAttributeImageSize
│ │ │ ├── DocumentAttributeAnimated
│ │ │ ├── DocumentAttributeSticker
│ │ │ ├── DocumentAttributeVideo
│ │ │ ├── DocumentAttributeAudio
│ │ │ ├── DocumentAttributeFilename
│ │ │ ├── DocumentAttributeHasStickers
│ │ │ └── DocumentAttributeCustomEmoji
│ │ ├── cached_pagePage (optional)
│ │ │ └── Page
│ │ │ ├── parttrue (optional)
│ │ │ ├── rtltrue (optional)
│ │ │ ├── v2true (optional)
│ │ │ ├── urlstring
│ │ │ ├── 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
│ │ │ ├── photosVector < Photo >
│ │ │ │ ├── PhotoEmpty
│ │ │ │ └── Photo
│ │ │ ├── documentsVector < Document >
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── viewsint (optional)
│ │ └── attributesVector < WebPageAttribute > (optional)
│ │ ├── WebPageAttributeTheme
│ │ │ ├── documentsVector < Document > (optional)
│ │ │ │ ├── DocumentEmpty
│ │ │ │ └── Document
│ │ │ └── settingsThemeSettings (optional)
│ │ │ └── ThemeSettings
│ │ ├── WebPageAttributeStory
│ │ │ ├── peerPeer
│ │ │ │ ├── PeerUser
│ │ │ │ ├── PeerChat
│ │ │ │ └── PeerChannel
│ │ │ ├── idint
│ │ │ └── storyStoryItem (optional)
│ │ │ ├── StoryItemDeleted
│ │ │ ├── StoryItemSkipped
│ │ │ └── StoryItem
│ │ ├── WebPageAttributeStickerSet
│ │ │ ├── emojistrue (optional)
│ │ │ ├── text_colortrue (optional)
│ │ │ └── stickersVector < Document >
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ │ └── giftStarGift
│ │ │ ├── StarGift
│ │ │ └── StarGiftUnique
│ │ │ └── iconsVector < Document >
│ │ │ ├── DocumentEmpty
│ │ │ └── Document
│ │ ├── giftStarGift
│ │ │ ├── StarGift
│ │ │ └── StarGiftUnique
│ │ └── end_dateint
│ └── WebPageNotModified
│ └── cached_page_viewsint (optional)
├── ptsint
└── pts_countint

Example

UpdateChannelWebPage(
    channel_id=0,
    webpage=WebPageEmpty(id=0),
    pts=0,
    pts_count=0,
)