View Source ExTDLib.Method.ToggleSupergroupHasAggressiveAntiSpamEnabled (ExTDLib v0.0.4)
Toggles whether aggressive anti-spam checks are enabled in the supergroup. Can be called only if supergroupFullInfo.can_toggle_aggressive_anti_spam == true. Returns object_ptr<Ok>.
| Name | Type | Description |
|---|---|---|
| supergroup_id | string | The identifier of the supergroup, which isn't a broadcast group. |
| has_aggressive_anti_spam_enabled | bool | The new value of has_aggressive_anti_spam_enabled. |
More details on telegram's documentation.