# channelAdminLogEventActionToggleAntiSpam

> Native antispam functionality was enabled or disabled.

[Back to constructors index](/API_docs/constructors/index.html)



[Native antispam](https://core.telegram.org/api/antispam) functionality was enabled or disabled.

### Attributes:

| Name     |    Type       | Required | Description |
|----------|---------------|----------|-------------|
|new\_value|[Bool](/API_docs/types/Bool.html) | Yes|Whether antispam functionality was enabled or disabled.|



### Type: [ChannelAdminLogEventAction](/API_docs/types/ChannelAdminLogEventAction.html)


### Example:

```
$channelAdminLogEventActionToggleAntiSpam = ['_' => 'channelAdminLogEventActionToggleAntiSpam', 'new_value' => Bool];
```
