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.
Parameters
Section titled “Parameters”Values for the event.
The reason code for the failure
eventId?
Section titled “eventId?”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
roomId
Section titled “roomId”string
Room ID of the event.
sender
Section titled “sender”string
The sender of the event.
Returns
Section titled “Returns”Promise<DigitalWorldEvent>