pub type MegolmV2AesSha2Content = MegolmV1AesSha2Content;
Expand description
The m.megolm.v2.aes-sha2
variant of the m.room_key
content.
Aliased Type§
pub struct MegolmV2AesSha2Content {
pub room_id: OwnedRoomId,
pub session_id: String,
pub session_key: SessionKey,
pub shared_history: bool,
/* private fields */
}
Fields§
§room_id: OwnedRoomId
The room where the key is used.
session_id: String
The ID of the session that the key is for.
session_key: SessionKey
The key to be exchanged. Can be used to create a InboundGroupSession
that can be used to decrypt room events.
Whether this room key can be shared with users who are invited to the room in the future, allowing access to history, as defined in MSC3061.