GroupChannelFreezeSetRequest constructor

GroupChannelFreezeSetRequest({
  1. required String channelUrl,
  2. required bool freeze,
  3. String? userId,
})

Implementation

GroupChannelFreezeSetRequest(
    {required String channelUrl, required bool freeze, String? userId})
    : super(userId: userId) {
  url = 'group_channels/$channelUrl/freeze';
  body = {'freeze': freeze};
}