Go to the documentation of this file.
17 class SetReadMarkerJob :
public BaseJob {
53 , std::string _accessToken
55 std::string roomId , std::string mFullyRead , std::optional<std::string> mRead = std::nullopt
62 static BaseJob::Body buildBody(std::string roomId, std::string mFullyRead, std::optional<std::string> mRead);
static constexpr auto needsAuth()
Definition: read_markers.hpp:34
static BaseJob::Query buildQuery()
Definition: read_markers.cpp:15
Definition: location.hpp:26
Definition: location.hpp:10
Definition: basejob.hpp:90
Definition: location.hpp:10
SetReadMarkerJob withData(JsonWrap j) &&
Definition: read_markers.cpp:63
SetReadMarkerJob(std::string serverUrl, std::string _accessToken, std::string roomId, std::string mFullyRead, std::optional< std::string > mRead=std::nullopt)
Set the position of the read marker for a room.
Definition: read_markers.cpp:43
Definition: jsonwrap.hpp:22
Definition: read_markers.hpp:26
static BaseJob::Body buildBody(std::string roomId, std::string mFullyRead, std::optional< std::string > mRead)
Definition: read_markers.cpp:23
bool success() const
Definition: read_markers.cpp:80
Set the position of the read marker for a room.
Definition: read_markers.hpp:19
::Kazv::Body Body
Definition: basejob.hpp:100
Definition: basejob.hpp:50
JobResponse(Response r)
Definition: read_markers.cpp:77