static BaseJob::Query buildQuery()
Definition: receipts.cpp:15
static constexpr auto needsAuth()
Definition: receipts.hpp:34
JobResponse(Response r)
Definition: receipts.cpp:70
Definition: receipts.hpp:26
PostReceiptJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string receiptType, std::string eventId, JsonWrap receipt={})
Send a receipt for the given event ID.
Definition: receipts.cpp:36
PostReceiptJob withData(JsonWrap j) &&
Definition: receipts.cpp:56
Send a receipt for the given event ID.
Definition: receipts.hpp:19
bool success() const
Definition: receipts.cpp:73
static BaseJob::Body buildBody(std::string roomId, std::string receiptType, std::string eventId, JsonWrap receipt)
Definition: receipts.cpp:23