ChannelOperatorsAddRequest constructor

ChannelOperatorsAddRequest({
  1. required ChannelType channelType,
  2. required String channelUrl,
  3. required List<String> userIds,
})

Implementation

ChannelOperatorsAddRequest({
  required ChannelType channelType,
  required String channelUrl,
  required List<String> userIds,
}) : super() {
  url = '${channelType.urlString}/$channelUrl/operators';
  body = {'operator_ids': userIds};
}