setRateLimitPerUser method

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

Implementation

Future<void> setRateLimitPerUser(int rateLimitPerUser, String? reason) async {
  await dataStoreChannel.updateChannel(
    id: id,
    reason: reason,
    payload: {'rate_limit_per_user': rateLimitPerUser},
  );
}