MutedUserListRequest constructor

MutedUserListRequest({
  1. required ChannelType channelType,
  2. required String channelUrl,
  3. String? token,
  4. int limit = 30,
})

Implementation

MutedUserListRequest({
  required ChannelType channelType,
  required String channelUrl,
  String? token,
  int limit = 30,
}) : super() {
  url = '${channelType.urlString}/$channelUrl/mute';
  queryParams = {
    'limit': limit,
    if (token != null) 'token': token,
  };
}