Interface ChatStatusResponse

Common status variables for chat features. Most hooks in this library implement this interface.

interface ChatStatusResponse {
    connectionError?: ErrorInfo;
    connectionStatus: ConnectionStatus;
    roomError?: ErrorInfo;
    roomStatus: RoomStatus;
}

Hierarchy (view full)

Properties

connectionError?: ErrorInfo

If there's a connection error it will be available here.

connectionStatus: ConnectionStatus

Provides the connection status of the Ably connection.

roomError?: ErrorInfo

If there's an error with the room it will be available here.

roomStatus: RoomStatus

Provides the status of the room.