Interface ToggleSupergroupHasHiddenMembers

Toggles whether non-administrators can receive only administrators and bots using getSupergroupMembers or searchChatMembers. Can be called only if supergroupFullInfo.can_hide_members == true. Request type for Tdjson#toggleSupergroupHasHiddenMembers.

interface ToggleSupergroupHasHiddenMembers {
    @type: "toggleSupergroupHasHiddenMembers";
    has_hidden_members?: boolean;
    supergroup_id: number;
}

Properties

@type: "toggleSupergroupHasHiddenMembers"
has_hidden_members?: boolean

New value of has_hidden_members.

supergroup_id: number

Identifier of the supergroup.