Go to the documentation of this file.
32 class SetRoomStateWithKeyJob :
public BaseJob {
93 , std::string _accessToken
95 std::string roomId , std::string eventType , std::string stateKey ,
JsonWrap body = {}
115 using namespace Kazv;
Definition: location.hpp:26
static BaseJob::Body buildBody(std::string roomId, std::string eventType, std::string stateKey, JsonWrap body)
Definition: room_state.cpp:23
static constexpr auto needsAuth()
Definition: room_state.hpp:57
Definition: location.hpp:10
JobResponse(Response r)
Definition: room_state.cpp:70
SetRoomStateWithKeyJob withData(JsonWrap j) &&
Definition: room_state.cpp:56
Definition: room_state.hpp:41
Definition: basejob.hpp:90
std::string eventId() const
A unique identifier for the event.
Definition: room_state.cpp:84
Send a state event to the given room.
Definition: room_state.hpp:34
Definition: location.hpp:10
bool success() const
Definition: room_state.cpp:73
SetRoomStateWithKeyJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string eventType, std::string stateKey, JsonWrap body={})
Send a state event to the given room.
Definition: room_state.cpp:36
Definition: jsonwrap.hpp:22
static BaseJob::Query buildQuery()
Definition: room_state.cpp:15
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: basejob.hpp:50