mirror of
https://github.com/danog/MadelineProtoDocs.git
synced 2024-12-02 09:38:28 +01:00
1.1 KiB
1.1 KiB
title | description | nav_exclude | image |
---|---|---|---|
updatePinnedMessages | Some messages were pinned in a chat | true | https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png |
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];