Go to the documentation of this file.
22 class SendMessageJob :
public BaseJob {
74 , std::string _accessToken
76 std::string roomId , std::string eventType , std::string txnId ,
JsonWrap body = {}
Definition: room_send.hpp:31
Definition: location.hpp:26
SendMessageJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string eventType, std::string txnId, JsonWrap body={})
Send a message event to the given room.
Definition: room_send.cpp:36
Definition: location.hpp:10
std::string eventId() const
A unique identifier for the event.
Definition: room_send.cpp:84
Definition: basejob.hpp:90
SendMessageJob withData(JsonWrap j) &&
Definition: room_send.cpp:56
Definition: location.hpp:10
static constexpr auto needsAuth()
Definition: room_send.hpp:47
Definition: jsonwrap.hpp:22
static BaseJob::Body buildBody(std::string roomId, std::string eventType, std::string txnId, JsonWrap body)
Definition: room_send.cpp:23
Send a message event to the given room.
Definition: room_send.hpp:24
::Kazv::Body Body
Definition: basejob.hpp:100
JobResponse(Response r)
Definition: room_send.cpp:70
bool success() const
Definition: room_send.cpp:73
Definition: basejob.hpp:50
static BaseJob::Query buildQuery()
Definition: room_send.cpp:15