messages.updatePinnedForumTopic
Pin or unpin forum topics
Pin or unpin [forum topics](https://core.telegram.org/api/forum.md)
| الاسم | النوع | مطلوب | الوصف |
|---|---|---|---|
peer | InputPeer | أيوه | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |
topic_id | int | أيوه | [Forum topic ID](https://core.telegram.org/api/forum.md) |
pinned | Bool | أيوه | Whether to pin or unpin the topic |
الردود
Updates
MTProto RPC
- 400 · CHANNEL_INVALID — The provided channel is invalid.