pub type ForwardedRoomKeyEvent = ToDeviceEvent<ForwardedRoomKeyContent>;Expand description
The m.forwarded_room_key to-device event.
Aliased Type§
pub struct ForwardedRoomKeyEvent {
pub sender: OwnedUserId,
pub content: ForwardedRoomKeyContent,
/* private fields */
}Fields§
§sender: OwnedUserIdThe sender of the to-device event.
content: ForwardedRoomKeyContentThe 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.