Constructor: updatePinnedChannelMessages
Messages were pinned/unpinned in a channel/supergroup
Attributes:
| Name | Type | Required | Description |
|---|---|---|---|
| pinned | Bool | Optional | Whether the messages were pinned or unpinned |
| channel_id | long | Yes | Channel ID |
| messages | Array of int | Yes | Messages |
| pts | int | Yes | Event count after generation |
| pts_count | int | Yes | Number of events that were generated |
Type: Update
Example:
$updatePinnedChannelMessages = ['_' => 'updatePinnedChannelMessages', 'pinned' => Bool, 'channel_id' => long, 'messages' => [int, int], 'pts' => int, 'pts_count' => int];