error CS0246: The type or namespace name 'RoomInfo' could not be found (are you missing a using directive or an assembly reference?) HELPPPPPP

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Photon.Pun;
using TMPro;
using UnityEngine.UI;

  public class Launcher : MonoBehaviourPunCallbacks

{

 [SerializeField] TMP_InputField roomNameInputField;
 [SerializeField] TMP_Text errorText;
 [SerializeField] TMP_Text roomNameText;
 [SerializeField] Transform roomListContent;
 [SerializeField] GameObject roomListItemPrefab;

  void Start()
 {
     Debug.Log("Connecting to Master");
     PhotonNetwork.ConnectUsingSettings();
 }

 public override void OnConnectedToMaster()
 {
   Debug.Log("Connected To Master");
   PhotonNetwork.JoinLobby();
 }

 public override void OnJoinedLobby()
 {
       MenuManager.Instance.OpenMenu("title");
     Debug.Log("Joined Lobby");
 }

 public void CreateRoom()
 {
     if(string.IsNullOrEmpty(roomNameInputField.text)) 
     {
         return;
     }
     PhotonNetwork.CreateRoom(roomNameInputField.text);
     MenuManager.Instance.OpenMenu("loading");
 }

 public override void OnJoinedRoom()
 {
     MenuManager.Instance.OpenMenu("room");
     roomNameText.text =  PhotonNetwork.CurrentRoom.Name;
 }

 public override void OnCreateRoomFailed(short returnCode, string message)
 {
     errorText.text = "Room Creation Failed:" + message;
     Debug.LogError("Room Ceation Failed: " + message);
     MenuManager.Instance.OpenMenu("error");
 }

 public void LeaveRoom()
 {
      PhotonNetwork.LeaveRoom();
      MenuManager.Instance.OpenMenu("loading");
 }

 public override void OnLeftRoom()
 {
      MenuManager.Instance.OpenMenu("title");
 }

 public override void OnRoomListUpdate(List<RoomInfo> roomList)
 {

 }
 
     
 

 

 // Update is called once per frame
 void Update()
 {
    
 }

}

add this on the top of the script:

using Photon.Realtime;,use this on the top of the script:

using Photon.Realtime;

or

using Photon.Realtime.RoomInfo;