setSlowMode

Change slow mode in a group. User-only.

Parameters

chatId: ID

The identifier of the group to change slow mode in.

New slow mode duration.

Result

void

Syntax

await client.setSlowMode(chatId, duration);