Options
All
  • Public
  • Public/Protected
  • All
Menu

Settings for an encrypted room.

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

Hierarchy

  • EncryptionSettings

Index

Constructors

  • Create a new EncryptionSettings with default values.

    Returns EncryptionSettings

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

  • free(): void
  • Returns void

Generated using TypeDoc