Settings for an encrypted room.

This determines the algorithm and rotation periods of a group session.

Constructors

Properties

The encryption algorithm that should be used in the room.

historyVisibility: HistoryVisibility

The history visibility of the room when the session was created.

rotationPeriod: bigint

How long the session should be used before changing it, expressed in microseconds.

rotationPeriodMessages: bigint

How many messages should be sent before changing the session.

sharingStrategy: CollectStrategy

Should untrusted devices receive the room key, or should they be excluded from the conversation.

Methods

  • Returns void