matrix-js-sdk

    Interface ICapabilities

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

    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.

    sendDelayedEvents?: boolean

    Whether this client needs to be able to send delayed events. Part of MSC4140 & MSC4157

    false
    
    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.

    false
    
    updateDelayedEvents?: boolean

    Whether this client needs to be able to update delayed events. Part of MSC4140 & MSC4157

    false
    
    MMNEPVFCICPMFPCPTTAAATR