ToggleSupergroupHasAggressiveAntiSpamEnabled class

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.

Inheritance
Available Extensions

Constructors

ToggleSupergroupHasAggressiveAntiSpamEnabled({required int supergroup_id, required bool has_aggressive_anti_spam_enabled, int? extra, 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

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
has_aggressive_anti_spam_enabled bool
The new value of has_aggressive_anti_spam_enabled.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
supergroup_id int
The identifier of the supergroup, which isn't a broadcast group.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) ToggleSupergroupHasAggressiveAntiSpamEnabled?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"toggleSupergroupHasAggressiveAntiSpamEnabled"