Interface ChatRoomContextType

Data type for ChatRoomContext.

interface ChatRoomContextType {
    client: ChatClient;
    options: RoomOptions;
    room: Promise<Room>;
    roomId: string;
}

Properties

client: ChatClient

The chat client used to create the room.

options: RoomOptions

Options used to create the room.

room: Promise<Room>

Promise that resolves to the chat room.

roomId: string

The ID of the room that promise will resolve to.