Type Alias matrix_sdk_crypto::types::events::olm_v1::DecryptedRoomKeyEvent
source · pub type DecryptedRoomKeyEvent = DecryptedOlmV1Event<RoomKeyContent>;
Expand description
An m.room_key
event that was decrypted using the
m.olm.v1.curve25519-aes-sha2
algorithm
Aliased Type§
struct DecryptedRoomKeyEvent {
pub sender: OwnedUserId,
pub recipient: OwnedUserId,
pub keys: OlmV1Keys,
pub recipient_keys: OlmV1Keys,
pub device_keys: Option<DeviceKeys>,
pub content: RoomKeyContent,
}
Fields§
§sender: OwnedUserId
The sender of the event, as set by the sender of the event.
recipient: OwnedUserId
The intended recipient of the event, as set by the sender of the event.
keys: OlmV1Keys
The sender’s signing keys of the encrypted event.
recipient_keys: OlmV1Keys
The recipient’s signing keys of the encrypted event.
device_keys: Option<DeviceKeys>
The device keys if supplied as per MSC4147
content: RoomKeyContent
The type of the event.