MadelineProtoDocs/old_docs/API_docs_v95/constructors/updateChannelWebPage.md
2019-12-27 17:48:04 +01:00

1.3 KiB

title description image
updateChannelWebPage A webpage preview of a link in a [channel/supergroup](https://core.telegram.org/api/channel) message was generated https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChannelWebPage

Back to constructors index

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

Attributes:

Name Type Required Description
channel_id int Yes Channel/supergroup ID
webpage WebPage Optional Generated webpage preview
pts int Yes Event count after generation
pts_count int Yes Number of events that were generated

Type: Update

Example:

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

Or, if you're into Lua:

updateChannelWebPage={_='updateChannelWebPage', channel_id=int, webpage=WebPage, pts=int, pts_count=int}