fetchChatRoomInfoFromServer method

Future<ChatRoom> fetchChatRoomInfoFromServer({
  1. required String roomId,
  2. bool fetchMembers = false,
})

Implementation

Future<ChatRoom> fetchChatRoomInfoFromServer({
  required String roomId,
  bool fetchMembers = false,
}) {
  return checkResult(ChatSDKEvent.fetchChatRoomInfoFromServer, () {
    return Client.getInstance.chatRoomManager.fetchChatRoomInfoFromServer(
      roomId,
      fetchMembers: fetchMembers,
    );
  });
}