Skip to content

mkDecryptionFailureDigitalWorldEvent

mkDecryptionFailureDigitalWorldEvent(opts): Promise<DigitalWorldEvent>

Defined in: src/testing.ts:126

Create a DigitalWorldEvent representing a m.room.encrypted event which could not be decrypted.

Values for the event.

DecryptionFailureCode

The reason code for the failure

string

Optional event_id for the event. If provided will be used as event ID; else an ID is generated.

string

A textual reason for the failure

string

Room ID of the event.

string

The sender of the event.

Promise<DigitalWorldEvent>