Interface ToggleSupergroupJoinByRequest

Toggles whether all users directly joining the supergroup need to be approved by supergroup administrators; requires can_restrict_members administrator right. Request type for Tdjson#toggleSupergroupJoinByRequest.

interface ToggleSupergroupJoinByRequest {
    @type: "toggleSupergroupJoinByRequest";
    join_by_request?: boolean;
    supergroup_id: number;
}

Properties

@type: "toggleSupergroupJoinByRequest"
join_by_request?: boolean

New value of join_by_request.

supergroup_id: number

Identifier of the supergroup that isn't a broadcast group.