OpenChannelParticipantListRequest constructor

OpenChannelParticipantListRequest({
  1. required String channelUrl,
  2. String? token,
  3. int limit = 30,
})

Implementation

OpenChannelParticipantListRequest({
  required String channelUrl,
  String? token,
  int limit = 30,
}) : super() {
  url = 'open_channels/$channelUrl/participants';
  queryParams = {
    'limit': limit,
    if (token != null) 'token': token,
  };
}