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

source

pub fn algorithm(&self) -> EventEncryptionAlgorithm

Get the algorithm of the forwarded room key.