GroupChannelLeaveRequest constructor
GroupChannelLeaveRequest({})
Implementation
GroupChannelLeaveRequest({
required String channelUrl,
String? userId,
bool? shouldRemoveOperatorStatus,
}) : super(userId: userId) {
url = 'group_channels/$channelUrl/leave';
body = {
'should_remove_operator_status': shouldRemoveOperatorStatus ?? false
};
}