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>.

NameTypeDescription
chat_idstringChat identifier.
message_thread_idstringMessage thread identifier of the forum topic.
is_pinnedboolPass true to pin the topic; pass false to unpin it.

More details on telegram's documentation.