messages.updatePinnedForumTopic
Pin or unpin forum topics
Pin or unpin [forum topics](https://core.telegram.org/api/forum.md)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |
topic_id | int | Ja | [Forum topic ID](https://core.telegram.org/api/forum.md) |
pinned | Bool | Ja | Whether to pin or unpin the topic |
Antworten
Updates
MTProto RPC
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.