setRateLimitPerUser method

Future<void> setRateLimitPerUser(
  1. int rateLimitPerUser, {
  2. String? reason,
})

Sets the rate limit per user for the channel.

await channel.setRateLimitPerUser(10);

Implementation

Future<void> setRateLimitPerUser(int rateLimitPerUser, {String? reason}) =>
    _methods.setRateLimitPerUser(rateLimitPerUser, reason);