join method

Future<void> join(
  1. {String? accessCode}
)

Joins this channel if this channel is public.

Implementation

Future<void> join({String? accessCode}) async {
  sbLog.i(StackTrace.current, 'accessCode: $accessCode');

  await chat.apiClient.send(GroupChannelJoinRequest(
    chat,
    channelUrl: channelUrl,
    accessCode: accessCode,
  ));
}