pub type Messages = BTreeMap<OwnedUserId, BTreeMap<DeviceIdOrAllDevices, Raw<AnyToDeviceEventContent>, Global>, Global>;
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 } }
.