enableSlowMode

fun enableSlowMode(cooldownTimeInSeconds: Int): Call<Channel>

Enables slow mode for the channel. When slow mode is enabled, users can only send a message every cooldownTimeInSeconds time interval. The cooldownTimeInSeconds is specified in seconds, and should be between 1-120.

Return

Executable async Call responsible for enabling slow mode.

Parameters

cooldownTimeInSeconds

The duration of the time interval users have to wait between messages.