A decrypted room event.

Constructors

Properties

event: string

The JSON-encoded decrypted event.

Accessors

  • get forwardingCurve25519KeyChain(): string[]
  • Chain of Curve25519 keys through which this session was forwarded, via m.forwarded_room_key events.

    Returns string[]

  • get sender(): null | UserId
  • The user ID of the event sender, note this is untrusted data unless the verification_state is as well trusted.

    Returns null | UserId

  • get senderClaimedEd25519Key(): null | string
  • The signing Ed25519 key that have created the megolm key that was used to decrypt this session.

    Returns null | string

  • get senderCurve25519Key(): null | string
  • The Curve25519 key of the device that created the megolm decryption key originally.

    Returns null | string

  • get senderDevice(): null | DeviceId
  • The device ID of the device that sent us the event, note this is untrusted data unless verification_state is as well trusted.

    Returns null | DeviceId

Methods

  • The verification state of the device that sent us the event, note this is the state of the device at the time of decryption. It may change in the future if a device gets verified or deleted.

    Parameters

    • strict: boolean

    Returns null | ShieldState