# updateChannelPinnedTopic

A [forum topic »](/api/forum.md#forum-topics) was pinned or unpinned.

No such constructor in the current schema.

### Parameters

| Name | Type | Description |
| --- | :---: | --- |
| **flags** | [\#](/type/%23) | Flags, see [TL conditional fields](/mtproto/TL-combinators.md#conditional-fields) |
| **pinned** | [flags](/mtproto/TL-combinators.md#conditional-fields).0?[true](/constructor/true.md) | Whether the topic was pinned or unpinned |
| **channel\_id** | [long](/type/long.md) | The forum ID |
| **topic\_id** | [int](/type/int.md) | The topic ID |

### Type
[Update](/type/Update.md)

### Related pages

#### [Forums](/api/forum.md)
Telegram allows creating forums with multiple distinct topics.