enableSlowdown method

Future<PartialUpdateChannelResponse> enableSlowdown(
  1. String channelId,
  2. String channelType,
  3. int cooldown
)

Enables slow mode

Implementation

Future<PartialUpdateChannelResponse> enableSlowdown(
  String channelId,
  String channelType,
  int cooldown,
) async =>
    _chatApi.channel.enableSlowdown(
      channelId,
      channelType,
      cooldown,
    );