Class

EncryptionEvent

EncryptionEvent()

Represents an m.room.encryption state event
Constructor

# new EncryptionEvent()

View Source models/events/EncryptionEvent.ts, line 16

Classes

EncryptionEvent

Members

# algorithm

The encryption algorithm for the room.

View Source models/events/EncryptionEvent.ts, line 23

# rotationPeriodMessages

How many messages should be sent before a session changes. Defaults to 100.

View Source models/events/EncryptionEvent.ts, line 35

# rotationPeriodMs

How long a session should be used before changing it. Defaults to a week.

View Source models/events/EncryptionEvent.ts, line 29

Methods

# algorithm() → {string|RoomEncryptionAlgorithm}

The encryption algorithm for the room.

View Source models/events/EncryptionEvent.ts, line 72

string | RoomEncryptionAlgorithm

# rotationPeriodMessages() → {number}

How many messages should be sent before a session changes. Defaults to 100.

View Source models/events/EncryptionEvent.ts, line 86

number

# rotationPeriodMs() → {number}

How long a session should be used before changing it. Defaults to a week.

View Source models/events/EncryptionEvent.ts, line 79

number