MadelineProtoDocs/docs/API_docs/constructors/updateChannelPinnedTopic.md
2024-05-01 14:53:46 +02:00

944 B

title description nav_exclude image
updateChannelPinnedTopic A forum topic » was pinned or unpinned. true https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: updateChannelPinnedTopic

Back to constructors index

A forum topic » was pinned or unpinned.

Attributes:

Name Type Required Description
pinned Bool Optional Whether the topic was pinned or unpinned
channel_id long Yes The forum ID
topic_id int Yes The topic ID

Type: Update

Example:

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