Type Alias ruma::events::room_key::ToDeviceRoomKeyEvent

source ·
pub type ToDeviceRoomKeyEvent = ToDeviceEvent<ToDeviceRoomKeyEventContent>;
Available on crate feature events only.
Expand description

An m.room_key event.

Aliased Type§

struct ToDeviceRoomKeyEvent {
    pub content: ToDeviceRoomKeyEventContent,
    pub sender: OwnedUserId,
}

Fields§

§content: ToDeviceRoomKeyEventContent

Data specific to the event type.

§sender: OwnedUserId

The fully-qualified ID of the user who sent this event.