Link Search Menu Expand Document

Constructor: updateChannelWebPage

Back to constructors index

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

Attributes:

NameTypeRequiredDescription
channel_idlongYesChannel/supergroup ID
webpageWebPageOptionalGenerated webpage preview
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated

Type: Update

Example:

$updateChannelWebPage = ['_' => 'updateChannelWebPage', 'channel_id' => long, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int];