Interface ToggleCommunityAreChatsCollapsed

Changes whether all chats of a community are collapsed into one entry in the chat list. If the chats are expanded, then the community is removed from all chat folders. Request type for Tdjson#toggleCommunityAreChatsCollapsed.

interface ToggleCommunityAreChatsCollapsed {
    @type: "toggleCommunityAreChatsCollapsed";
    are_chats_collapsed?: boolean;
    community_id: number;
}

Properties

@type: "toggleCommunityAreChatsCollapsed"
are_chats_collapsed?: boolean

Pass true to collapse all chats of the community into one entry in the chat list.

community_id: number

Identifier of the community.