Go to the documentation of this file.
26 class LeaveRoomJob :
public BaseJob {
57 , std::string _accessToken
59 std::string roomId , std::optional<std::string> reason = std::nullopt
109 bool success()
const;
126 , std::string _accessToken
148 using namespace Kazv;
Stop the requesting user participating in a particular room.
Definition: leaving.hpp:28
Stop the requesting user remembering about a particular room.
Definition: leaving.hpp:99
Definition: location.hpp:26
Definition: location.hpp:10
static BaseJob::Body buildBody(std::string roomId, std::optional< std::string > reason)
Definition: leaving.cpp:23
Definition: basejob.hpp:90
LeaveRoomJob withData(JsonWrap j) &&
Definition: leaving.cpp:61
Definition: location.hpp:10
LeaveRoomJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::optional< std::string > reason=std::nullopt)
Stop the requesting user participating in a particular room.
Definition: leaving.cpp:41
Definition: leaving.hpp:35
Definition: jsonwrap.hpp:22
JobResponse(Response r)
Definition: leaving.cpp:75
Definition: basejob.hpp:76
Definition: leaving.hpp:104
bool success() const
Definition: leaving.cpp:78
static constexpr auto needsAuth()
Definition: leaving.hpp:43
::Kazv::Body Body
Definition: basejob.hpp:100
static BaseJob::Query buildQuery()
Definition: leaving.cpp:15
static constexpr auto needsAuth()
Definition: leaving.hpp:112
Definition: basejob.hpp:50