63 , std::string _accessToken
65 std::string roomId , std::string userId , std::optional<std::string> reason = std::nullopt
Definition: inviting.hpp:35
JobResponse(Response r)
Definition: inviting.cpp:75
bool success() const
Definition: inviting.cpp:78
Invite a user to participate in a particular room.
Definition: inviting.hpp:29
static constexpr auto needsAuth()
Definition: inviting.hpp:42
InviteUserJob withData(JsonWrap j) &&
Definition: inviting.cpp:61
InviteUserJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string userId, std::optional< std::string > reason=std::nullopt)
Invite a user to participate in a particular room.
Definition: inviting.cpp:41
static BaseJob::Query buildQuery()
Definition: inviting.cpp:13
static BaseJob::Body buildBody(std::string roomId, std::string userId, std::optional< std::string > reason)
Definition: inviting.cpp:21
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