Interface SetChatPermissions

Changes the chat members permissions. Supported only for basic groups and supergroups. Requires can_restrict_members administrator right. Request type for Tdjson#setChatPermissions.

interface SetChatPermissions {
    @type: "setChatPermissions";
    chat_id: number;
    permissions: ChatPermissions;
}

Properties

@type: "setChatPermissions"
chat_id: number

Chat identifier.

permissions: ChatPermissions

New non-administrator members permissions in the chat.