View Source ExTDLib.Method.ToggleForumTopicIsPinned (ExTDLib v0.0.4)
Changes the pinned state of a forum topic; requires can_manage_topics administrator right in the supergroup. There can be up to getOption("pinned_forum_topic_count_max") pinned forum topics. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| chat_id | string | Chat identifier. |
| message_thread_id | string | Message thread identifier of the forum topic. |
| is_pinned | bool | Pass true to pin the topic; pass false to unpin it. |
More details on telegram's documentation.