matrix-js-sdk

    Interface ReceivedToDeviceMessage

    A (possibly decrypted) to-device message after it has been successfully processed by the sdk.

    If the message was encrypted, the encryptionInfo field will contain the encryption information. If the message was sent in clear, this field will be null.

    The message field contains the message type, content, and sender as if the message was sent in clear.

    interface ReceivedToDeviceMessage {
        encryptionInfo: null | OlmEncryptionInfo;
        message: IToDeviceEvent;
    }
    Index

    Properties

    encryptionInfo: null | OlmEncryptionInfo

    Information about the encryption of the message. Will be null if the message was sent in clear

    The message type, content, and sender as if the message was sent in clear.

    MMNEPVFCICPMFPCPTTAAATR