Skip to content

ReceivedToDeviceMessage

Defined in: src/sync-accumulator.ts:172

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.

encryptionInfo: OlmEncryptionInfo | null

Defined in: src/sync-accumulator.ts:179

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


message: IToDeviceEvent

Defined in: src/sync-accumulator.ts:174

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