Construct a new PickledInboundGroupSession
, with default values.
Flag remembering if the session has been backed up.
Flag remembering if the session was directly sent to us by the sender or if it was imported.
The pickle string holding the Megolm Session, as returned by
olm_pickle_inbound_group_session
in libolm.
Optional
roomThe id of the room that the session is used in.
Nullable so that a PickledInboundGroupSession
can be constructed
incrementally. Must be populated!
The public curve25519 key of the account that sent us the session.
Optional
senderThe public ed25519 key of the account that is believed to have initiated the session, if known.
If the session was received directly from the creator via an
Olm-encrypted m.room_key
event, this value is taken from the keys
property of the plaintext payload of that event (see
m.olm.v1.curve25519-aes-sha2
).
If the session was forwarded to us using an m.forwarded_room_key
,
this value is a copy of the sender_claimed_ed25519_key
from the
content of the event.
A pickled version of an
InboundGroupSession
.Holds all the information that needs to be stored in a database to restore an InboundGroupSession.