Interface ToggleChatViewAsTopics

Changes the view_as_topics setting of a forum chat or Saved Messages. Request type for Tdjson#toggleChatViewAsTopics.

interface ToggleChatViewAsTopics {
    @type: "toggleChatViewAsTopics";
    chat_id: number;
    view_as_topics?: boolean;
}

Properties

@type: "toggleChatViewAsTopics"
chat_id: number

Chat identifier.

view_as_topics?: boolean

New value of view_as_topics.