ReadonlybodyA JSON-encoded object containing the rest of the payload: messages.
It represents the body of the HTTP request.
Readonlyevent_A string representing the type of event being sent to each devices.
ReadonlyidThe request ID.
For to-device request this would be the same value as txn_id. It is
exposed also as id so that the js bindings are consistent with the
other request types by using this field to mark as sent.
Readonlytxn_A string representing a request identifier unique to the access token used to send the request.
ReadonlytypeGet its request type.
Create a new
ToDeviceRequest.