Class SendToDeviceRequest
- java.lang.Object
-
- io.github.ma1uta.matrix.client.model.sendtodevice.SendToDeviceRequest
-
public class SendToDeviceRequest extends Object
Sent to device body request.
-
-
Constructor Summary
Constructors Constructor Description SendToDeviceRequest()
-
Method Summary
Modifier and Type Method Description Map<String,Map<String,EventContent>>
getMessages()
void
setMessages(Map<String,Map<String,EventContent>> messages)
-
-
-
Field Detail
-
messages
private Map<String,Map<String,EventContent>> messages
The messages to send. A map from user ID, to a map from device ID to message body. The device ID may also be *, meaning all known devices for the user.
-
-
Method Detail
-
getMessages
public Map<String,Map<String,EventContent>> getMessages()
-
setMessages
public void setMessages(Map<String,Map<String,EventContent>> messages)
-
-