Type Alias matrix_sdk_crypto::types::events::forwarded_room_key::ForwardedRoomKeyEvent
source · pub type ForwardedRoomKeyEvent = ToDeviceEvent<ForwardedRoomKeyContent>;
Expand description
The m.forwarded_room_key
to-device event.
Aliased Type§
struct ForwardedRoomKeyEvent {
pub sender: OwnedUserId,
pub content: ForwardedRoomKeyContent,
/* private fields */
}
Fields§
§sender: OwnedUserId
The sender of the to-device event.
content: ForwardedRoomKeyContent
The content of the to-device event.
Implementations§
source§impl ForwardedRoomKeyEvent
impl ForwardedRoomKeyEvent
sourcepub fn algorithm(&self) -> EventEncryptionAlgorithm
pub fn algorithm(&self) -> EventEncryptionAlgorithm
Get the algorithm of the forwarded room key.