enableSlowMode
fun enableSlowMode(channelType: String, channelId: String, 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-MAX_COOLDOWN_TIME_SECONDS.
Return
Executable async Call responsible for enabling slow mode.
Parameters
channelType
The channel type. ie messaging.
channelId
The channel id. ie 123.
cooldownTimeInSeconds
The duration of the time interval users have to wait between messages.