MadelineProtoDocs/old_docs/API_docs_v44/constructors/channelAdminLogEventActionToggleSlowMode.md

40 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2020-10-01 18:05:42 +02:00
---
title: channelAdminLogEventActionToggleSlowMode
description: [Slow mode setting for supergroups was changed](../methods/channels.toggleSlowMode.md)
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: channelAdminLogEventActionToggleSlowMode
[Back to constructors index](index.md)
[Slow mode setting for supergroups was changed](../methods/channels.toggleSlowMode.md)
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|prev\_value|[int](../types/int.md) | Yes|Previous slow mode value|
|new\_value|[int](../types/int.md) | Yes|New slow mode value|
### Type: [ChannelAdminLogEventAction](../types/ChannelAdminLogEventAction.md)
### Example:
```php
$channelAdminLogEventActionToggleSlowMode = ['_' => 'channelAdminLogEventActionToggleSlowMode', 'prev_value' => int, 'new_value' => int];
```
Or, if you're into Lua:
```lua
channelAdminLogEventActionToggleSlowMode={_='channelAdminLogEventActionToggleSlowMode', prev_value=int, new_value=int}
```