ruma::api::federation::transactions::edu

Type Alias DirectDeviceMessages

Source
pub type DirectDeviceMessages = BTreeMap<OwnedUserId, BTreeMap<DeviceIdOrAllDevices, Raw<AnyToDeviceEventContent>>>;
Available on crate feature api and (crate features federation-api-c or federation-api-s) only.
Expand description

Direct device message contents.

Represented as a map of { user-ids => { device-ids => message-content } }.

Aliased Typeยง

struct DirectDeviceMessages { /* private fields */ }