Skip to content

toggleForumTopicIsClosed

Function · TDLib 1.8.67 · d1085f9c

Toggles whether a topic is closed in a forum supergroup chat; requires can_manage_topics administrator right in the supergroup unless the user is creator of the topic

toggleForumTopicIsClosed(
  chat_id: int53,
  forum_topic_id: int32,
  is_closed: Bool
) → Ok

chat_id

int53

Identifier of the chat

forum_topic_id

int32

Forum topic identifier

is_closed

Bool

Pass true to close the topic; pass false to reopen it