pub type MegolmV2AesSha2Content = MegolmV1AesSha2Content;
Expand description

The m.megolm.v2.aes-sha2 variant of the m.room_key content.

Aliased Type§

struct MegolmV2AesSha2Content {
    pub room_id: OwnedRoomId,
    pub session_id: String,
    pub session_key: SessionKey,
    /* 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.