mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.2 KiB
1.2 KiB
title | description | nav_exclude | image |
---|---|---|---|
updateChannelWebPage | A webpage preview of a link in a channel/supergroup message was generated | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
Constructor: updateChannelWebPage
A webpage preview of a link in a channel/supergroup message was generated
Attributes:
Name | Type | Required | Description |
---|---|---|---|
channel_id | long | 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' => long, 'webpage' => WebPage, 'pts' => int, 'pts_count' => int];