toggle_forum_topic_is_closed


Description:

public async Ok toggle_forum_topic_is_closed (int64 chat_id, int64 message_thread_id, bool is_closed) throws TDLibError

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

Parameters:

chat_id

Identifier of the chat

message_thread_id

Message thread identifier of the forum topic

is_closed

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