Interface ICapabilities

interface ICapabilities {
    receiveEvent?: string[];
    receiveMessage?: true | string[];
    receiveState?: IStateEventRequest[];
    receiveToDevice?: string[];
    sendEvent?: string[];
    sendMessage?: true | string[];
    sendState?: IStateEventRequest[];
    sendToDevice?: string[];
    turnServers?: boolean;
}

Properties

receiveEvent?: string[]

Event types that this client expects to receive.

receiveMessage?: true | string[]

Message types that this client expects to receive, or true for all message types.

receiveState?: IStateEventRequest[]

Types of state events that this client expects to receive.

receiveToDevice?: string[]

To-device event types that this client expects to receive.

sendEvent?: string[]

Event types that this client expects to send.

sendMessage?: true | string[]

Message types that this client expects to send, or true for all message types.

sendState?: IStateEventRequest[]

Types of state events that this client expects to send.

sendToDevice?: string[]

To-device event types that this client expects to send.

turnServers?: boolean

Whether this client needs access to TURN servers.

Default Value

false

Generated using TypeDoc