joinChatRoom method

Future<void> joinChatRoom({
  1. required String roomId,
  2. bool leaveOther = true,
  3. String? ext,
})

Implementation

Future<void> joinChatRoom({
  required String roomId,
  bool leaveOther = true,
  String? ext,
}) async {
  return checkResult(ChatSDKEvent.joinChatRoom, () {
    return Client.getInstance.chatRoomManager
        .joinChatRoom(roomId, leaveOther: leaveOther, ext: ext);
  });
}