toggle_slow_mode()¶
- async Client.toggle_slow_mode()¶
Toggle slow mode in a supergroup.
Usable by Users Bots- Parameters:
seconds (int, *optional*) – Slow mode interval in seconds (0 to disable)
chat_id (
int|str) – Unique identifier (int) or username (str) of the target chat.
- Returns:
Example
await app.toggle_slow_mode(chat_id, ...)