Link Search Menu Expand Document

Constructor: updatePinnedMessages

Back to constructors index

Some messages were pinned in a chat

Attributes:

NameTypeRequiredDescription
pinnedBoolOptionalWhether the messages were pinned or unpinned
peerlongYesPeer
messagesArray of intYesMessage IDs
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated

Type: Update

Example:

$updatePinnedMessages = ['_' => 'updatePinnedMessages', 'pinned' => Bool, 'peer' => long, 'messages' => [int, int], 'pts' => int, 'pts_count' => int];