pub type Messages = BTreeMap<OwnedUserId, BTreeMap<DeviceIdOrAllDevices, Raw<AnyToDeviceEventContent>>>;
Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
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 */ }