Interface ToggleSupergroupHasAggressiveAntiSpamEnabled

Toggles whether aggressive anti-spam checks are enabled in the supergroup. Can be called only if supergroupFullInfo.can_toggle_aggressive_anti_spam == true. Request type for Tdjson#toggleSupergroupHasAggressiveAntiSpamEnabled.

interface ToggleSupergroupHasAggressiveAntiSpamEnabled {
    @type: "toggleSupergroupHasAggressiveAntiSpamEnabled";
    has_aggressive_anti_spam_enabled?: boolean;
    supergroup_id: number;
}

Properties

@type: "toggleSupergroupHasAggressiveAntiSpamEnabled"
has_aggressive_anti_spam_enabled?: boolean

The new value of has_aggressive_anti_spam_enabled.

supergroup_id: number

The identifier of the supergroup, which isn't a broadcast group.