Constructor: updatePinnedMessages
Some messages were pinned in a chat
Attributes:
Name | Type | Required | Description |
---|---|---|---|
pinned | Bool | Optional | Whether the messages were pinned or unpinned |
peer | long | Yes | Peer |
messages | Array of int | Yes | Message IDs |
pts | int | Yes | Event count after generation |
pts_count | int | Yes | Number of events that were generated |
Type: Update
Example:
$updatePinnedMessages = ['_' => 'updatePinnedMessages', 'pinned' => Bool, 'peer' => long, 'messages' => [int, int], 'pts' => int, 'pts_count' => int];