GroupChannelJoinRequest constructor

GroupChannelJoinRequest({
  1. required String channelUrl,
  2. String? accessCode,
  3. String? userId,
})

Implementation

GroupChannelJoinRequest({
  required String channelUrl,
  String? accessCode,
  String? userId,
}) : super(userId: userId) {
  url = 'group_channels/$channelUrl/join';
  body = {
    if (accessCode != null) 'access_code': accessCode,
  };
}