aboutsummaryrefslogtreecommitdiff
path: root/lib/csapi/to_device.h
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-07 19:46:40 +0200
committerKitsune Ral <Kitsune-Ral@users.sf.net>2020-06-07 19:46:40 +0200
commit32729d9a7519cd2c4cddb0174b8329c6fd4a4a83 (patch)
tree9a966d7dc0bf628f610d5de1ad64c8d29b6b26f8 /lib/csapi/to_device.h
parenta0430b1fb722a77ad7cbd28f181727d46d92b3a2 (diff)
downloadlibquotient-32729d9a7519cd2c4cddb0174b8329c6fd4a4a83.tar.gz
libquotient-32729d9a7519cd2c4cddb0174b8329c6fd4a4a83.zip
Update generated files according to gtad/* changes
Diffstat (limited to 'lib/csapi/to_device.h')
-rw-r--r--lib/csapi/to_device.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/csapi/to_device.h b/lib/csapi/to_device.h
index 48f0ec83..8c82af45 100644
--- a/lib/csapi/to_device.h
+++ b/lib/csapi/to_device.h
@@ -6,13 +6,8 @@
#include "jobs/basejob.h"
-#include <QtCore/QHash>
-#include <QtCore/QJsonObject>
-
namespace Quotient {
-// Operations
-
/*! \brief Send an event to a given set of devices.
*
* This endpoint is used to send send-to-device events to a set of
@@ -22,12 +17,15 @@ class SendToDeviceJob : public BaseJob {
public:
/*! \brief Send an event to a given set of devices.
*
+ *
* \param eventType
* The type of event to send.
+ *
* \param txnId
* The transaction ID for this event. Clients should generate an
* ID unique across requests with the same access token; it will be
* used by the server to ensure idempotency of requests.
+ *
* \param 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 `*`,