44 std::optional<std::string>
eventId()
const;
71 , std::string _accessToken
73 std::string roomId , std::string eventId , std::string txnId , std::optional<std::string> reason = std::nullopt
80 static BaseJob::Body buildBody(std::string roomId, std::string eventId, std::string txnId, std::optional<std::string> reason);
Definition: redaction.hpp:32
std::optional< std::string > eventId() const
A unique identifier for the event.
Definition: redaction.cpp:86
bool success() const
Definition: redaction.cpp:76
JobResponse(Response r)
Definition: redaction.cpp:73
Strips all non-integrity-critical information out of an event.
Definition: redaction.hpp:26
RedactEventJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string eventId, std::string txnId, std::optional< std::string > reason=std::nullopt)
Strips all non-integrity-critical information out of an event.
Definition: redaction.cpp:39
static BaseJob::Query buildQuery()
Definition: redaction.cpp:13
RedactEventJob withData(JsonWrap j) &&
Definition: redaction.cpp:59
static BaseJob::Body buildBody(std::string roomId, std::string eventId, std::string txnId, std::optional< std::string > reason)
Definition: redaction.cpp:21
static constexpr auto needsAuth()
Definition: redaction.hpp:47
Definition: basejob.hpp:91
Definition: basejob.hpp:77
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: jsonwrap.hpp:23
Definition: location.hpp:10
Definition: location.hpp:10
Definition: location.hpp:27
Definition: basejob.hpp:50