• Set supergroup's slow mode interval.

    Parameters

    • client: ITelegramClient
    • chatId: InputPeerLike

      Chat ID or username

    • seconds: number = 0

      Slow mode interval in seconds. Users will be able to send a message only once per this interval. Valid values are: 0 (off), 10, 30, 60 (1m), 300 (5m), 900 (15m) or 3600 (1h)

    Returns Promise<void>