pub type EncryptedToDeviceEvent = ToDeviceEvent<ToDeviceEncryptedEventContent>;
Expand description

An m.room.encrypted to-device event.

Aliased Type§

struct EncryptedToDeviceEvent {
    pub sender: OwnedUserId,
    pub content: ToDeviceEncryptedEventContent,
    /* private fields */
}

Fields§

§sender: OwnedUserId

The sender of the to-device event.

§content: ToDeviceEncryptedEventContent

The content of the to-device event.

Implementations§

source§

impl EncryptedToDeviceEvent

source

pub fn algorithm(&self) -> EventEncryptionAlgorithm

Get the algorithm of the encrypted event content.