Link Search Menu Expand Document

Constructor: updatePinnedChannelMessages

Back to constructors index

Messages were pinned/unpinned in a channel/supergroup

Attributes:

NameTypeRequiredDescription
pinnedBoolOptionalWhether the messages were pinned or unpinned
channel_idlongYesChannel ID
messagesArray of intYesMessages
ptsintYesEvent count after generation
pts_countintYesNumber of events that were generated

Type: Update

Example:

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