Definition: receipts.hpp:23
JobResponse(Response r)
Definition: receipts.cpp:68
bool success() const
Definition: receipts.cpp:71
Send a receipt for the given event ID.
Definition: receipts.hpp:17
PostReceiptJob withData(JsonWrap j) &&
Definition: receipts.cpp:54
static BaseJob::Query buildQuery()
Definition: receipts.cpp:13
static BaseJob::Body buildBody(std::string roomId, std::string receiptType, std::string eventId, JsonWrap receipt)
Definition: receipts.cpp:21
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:34
static constexpr auto needsAuth()
Definition: receipts.hpp:30