UpdateChannelWebPage
- class pyrogram.raw.types.UpdateChannelWebPage
A webpage preview of a link in a channel/supergroup message was generated
Constructor of
Update.- Details:
Layer:
223ID:
2F2BA99F
- Parameters:
channel_id (
int64-bit) – Channel/supergroup IDwebpage (
WebPage) – Generated webpage previewpts (
int32-bit) – Event count after generationpts_count (
int32-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_id →
long├── 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│ │ │ ├── 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│ │ ├──
WebPageAttributeUniqueStarGift│ │ │ └── gift →
StarGift│ │ │ ├──
StarGift│ │ │ └──
StarGiftUnique│ │ │ └── icons →
Vector < Document >│ │ │ ├──
DocumentEmpty│ │ │ └──
Document│ │ └──
WebPageAttributeStarGiftAuction│ │ ├── gift →
StarGift│ │ │ ├──
StarGift│ │ │ └──
StarGiftUnique│ │ └── end_date →
int│ └──
WebPageNotModified│ └── cached_page_views →
int (optional)├── pts →
int└── pts_count →
intExample
UpdateChannelWebPage(
channel_id=0,
webpage=WebPageEmpty(id=0),
pts=0,
pts_count=0,
)