toggle_supergroup_has_aggressive_anti_spam_enabled


Description:

public async Ok toggle_supergroup_has_aggressive_anti_spam_enabled (int64 supergroup_id, bool has_aggressive_anti_spam_enabled) throws TDLibError

Toggles whether aggressive anti-spam checks are enabled in the supergroup. Can be called only if supergroupFullInfo.can_toggle_aggressive_anti_spam == true

Parameters:

supergroup_id

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

has_aggressive_anti_spam_enabled

The new value of has_aggressive_anti_spam_enabled