blob: 2319496f253793e7b3ca5ea6da28686e77cdad51 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/******************************************************************************
* THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
*/
#include "room_send.h"
using namespace Quotient;
SendMessageJob::SendMessageJob(const QString& roomId, const QString& eventType,
const QString& txnId, const QJsonObject& body)
: BaseJob(HttpVerb::Put, QStringLiteral("SendMessageJob"),
makePath("/_matrix/client/v3", "/rooms/", roomId, "/send/",
eventType, "/", txnId))
{
setRequestData({ toJson(body) });
addExpectedKey("event_id");
}
|