Interface ToggleForumTopicIsClosed

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. Request type for Tdjson#toggleForumTopicIsClosed.

interface ToggleForumTopicIsClosed {
    @type: "toggleForumTopicIsClosed";
    chat_id: number;
    is_closed?: boolean;
    message_thread_id: number;
}

Properties

@type: "toggleForumTopicIsClosed"
chat_id: number

Identifier of the chat.

is_closed?: boolean

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

message_thread_id: number

Message thread identifier of the forum topic.