ruma_client_api::to_device::send_event_to_device::v3

Type Alias Messages

Source
pub type Messages = BTreeMap<OwnedUserId, BTreeMap<DeviceIdOrAllDevices, Raw<AnyToDeviceEventContent>>>;
Available on crate features client or server only.
Expand description

Messages to send in a send-to-device request.

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

Aliased Typeยง

struct Messages { /* private fields */ }