Go to the documentation of this file.
19 class SetTypingJob :
public BaseJob {
56 , std::string _accessToken
58 std::string userId , std::string roomId ,
bool typing , std::optional<int> timeout = std::nullopt
65 static BaseJob::Body buildBody(std::string userId, std::string roomId,
bool typing, std::optional<int> timeout);
Informs the server that the user has started or stopped typing.
Definition: typing.hpp:21
Definition: location.hpp:26
static BaseJob::Query buildQuery()
Definition: typing.cpp:15
Definition: location.hpp:10
SetTypingJob(std::string serverUrl, std::string _accessToken, std::string userId, std::string roomId, bool typing, std::optional< int > timeout=std::nullopt)
Informs the server that the user has started or stopped typing.
Definition: typing.cpp:43
bool success() const
Definition: typing.cpp:80
Definition: basejob.hpp:90
Definition: location.hpp:10
SetTypingJob withData(JsonWrap j) &&
Definition: typing.cpp:63
Definition: typing.hpp:28
Definition: jsonwrap.hpp:22
JobResponse(Response r)
Definition: typing.cpp:77
static constexpr auto needsAuth()
Definition: typing.hpp:36
::Kazv::Body Body
Definition: basejob.hpp:100
static BaseJob::Body buildBody(std::string userId, std::string roomId, bool typing, std::optional< int > timeout)
Definition: typing.cpp:23
Definition: basejob.hpp:50