ToggleSupergroupHasAggressiveAntiSpamEnabled constructor

ToggleSupergroupHasAggressiveAntiSpamEnabled(
  1. {required int supergroup_id,
  2. required bool has_aggressive_anti_spam_enabled,
  3. int? extra,
  4. int? clientId}
)

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

Returns Ok

Implementation

ToggleSupergroupHasAggressiveAntiSpamEnabled