enableSlowMode method

Future<PartialUpdateChannelResponse> enableSlowMode({
  1. required int cooldownInterval,
})

Enable slow mode

Implementation

Future<PartialUpdateChannelResponse> enableSlowMode({
  required int cooldownInterval,
}) async {
  _checkInitialized();
  return _client.enableSlowdown(id!, type, cooldownInterval);
}