Interface ToggleGeneralForumTopicIsHidden

Toggles whether a General topic is hidden in a forum supergroup chat; requires can_manage_topics right in the supergroup. Request type for Tdjson#toggleGeneralForumTopicIsHidden.

interface ToggleGeneralForumTopicIsHidden {
    @type: "toggleGeneralForumTopicIsHidden";
    chat_id: number;
    is_hidden?: boolean;
}

Properties

@type: "toggleGeneralForumTopicIsHidden"
chat_id: number

Identifier of the chat.

is_hidden?: boolean

Pass true to hide and close the General topic; pass false to unhide it.