GroupChannelUpdateRequest constructor

GroupChannelUpdateRequest(
  1. GroupChannelParams params, {
  2. OnUploadProgressCallback? onProgress,
  3. String? userId,
})

Implementation

GroupChannelUpdateRequest(
  GroupChannelParams params, {
  OnUploadProgressCallback? onProgress,
  String? userId,
}) : super(userId: userId) {
  url = 'group_channels/${params.channelUrl}';
  body = params.toJson();
  isMultipart = params.coverImage != null && params.coverImage!.hasBinary;
  progress = onProgress;
}