joinChatRoom method

Future<void> joinChatRoom(
  1. String roomId

Joins the chat room.

To exit the chat room, call leaveChatRoom.

Param roomId The ID of the chat room to join.

Throws A description of the exception. See ChatError.


Future<void> joinChatRoom(String roomId) async {
  Map result = await _channel
      .invokeMethod(ChatMethodKeys.joinChatRoom, {"roomId": roomId});
  try {
  } on ChatError catch (e) {
    throw e;