setDefaultThreadRateLimitPerUser method

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

Sets the default thread rate limit per user for the channel.

await channel.setDefaultThreadRateLimitPerUser(10);

Implementation

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