Options
All
  • Public
  • Public/Protected
  • All
Menu

A pickled version of a Session.

Holds all the information that needs to be stored in a database to restore an Olm Session. Can be imported into the rust store with {@link #migrateOlmSessions}.

Hierarchy

  • PickledSession

Index

Constructors

  • Construct a new PickledSession, with default values.

    Returns PickledSession

Properties

createdUsingFallbackKey: boolean

Was the session created using a fallback key?

creationTime: Date

When the session was created.

lastUseTime: Date

When the session was last used.

pickle: string

The pickle string holding the Olm Session, as returned by olm_pickle_session in libolm.

senderKey: string

The base64-encoded public curve25519 key of the other user that we share this session with.

Methods

  • free(): void
  • Returns void

Generated using TypeDoc