diff options
Diffstat (limited to 'lib/csapi/room_send.h')
-rw-r--r-- | lib/csapi/room_send.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/csapi/room_send.h b/lib/csapi/room_send.h index 39460aca..a9e7ca13 100644 --- a/lib/csapi/room_send.h +++ b/lib/csapi/room_send.h @@ -16,7 +16,7 @@ namespace Quotient { * * The body of the request should be the content object of the event; the * fields in this object will vary depending on the type of event. See - * `Room Events`_ for the m. event specification. + * [Room Events](/client-server-api/#room-events) for the m. event specification. */ class SendMessageJob : public BaseJob { public: @@ -40,7 +40,8 @@ public: * * The body of the request should be the content object of the event; the * fields in this object will vary depending on the type of event. See - * `Room Events`_ for the m. event specification. + * [Room Events](/client-server-api/#room-events) for the m. event + * specification. */ explicit SendMessageJob(const QString& roomId, const QString& eventType, const QString& txnId, const QJsonObject& body = {}); @@ -48,7 +49,10 @@ public: // Result properties /// A unique identifier for the event. - QString eventId() const { return loadFromJson<QString>("event_id"_ls); } + QString eventId() const + { + return loadFromJson<QString>("event_id"_ls); + } }; } // namespace Quotient |