Link Search Menu Expand Document

Constructor: updateChannelPinnedTopic

Back to constructors index

A forum topic » was pinned or unpinned.

Attributes:

NameTypeRequiredDescription
pinnedBoolOptionalWhether the topic was pinned or unpinned
channel_idlongYesThe forum ID
topic_idintYesThe topic ID

Type: Update

Example:

$updateChannelPinnedTopic = ['_' => 'updateChannelPinnedTopic', 'pinned' => Bool, 'channel_id' => long, 'topic_id' => int];