45 , std::string _accessToken
47 std::string roomAlias , std::string roomId
101 std::optional<std::string> roomId()
const;
105 immer::array<std::string> servers()
const;
124 std::string roomAlias
144 using namespace Kazv;
176 bool success()
const;
193 , std::string _accessToken
195 std::string roomAlias
215 using namespace Kazv;
252 bool success()
const;
260 immer::array<std::string> aliases()
const;
277 , std::string _accessToken
299 using namespace Kazv;
Definition: directory.hpp:172
Remove a mapping of room alias to room ID.
Definition: directory.hpp:166
static constexpr auto needsAuth()
Definition: directory.hpp:179
Definition: directory.hpp:248
Get a list of local aliases on a given room.
Definition: directory.hpp:242
static constexpr auto needsAuth()
Definition: directory.hpp:263
Definition: directory.hpp:89
Get the room ID corresponding to this room alias.
Definition: directory.hpp:83
static constexpr auto needsAuth()
Definition: directory.hpp:108
Definition: directory.hpp:21
bool success() const
Definition: directory.cpp:76
JobResponse(Response r)
Definition: directory.cpp:73
Create a new mapping from room alias to room ID.
Definition: directory.hpp:15
static constexpr auto needsAuth()
Definition: directory.hpp:28
SetRoomAliasJob withData(JsonWrap j) &&
Definition: directory.cpp:59
static BaseJob::Body buildBody(std::string roomAlias, std::string roomId)
Definition: directory.cpp:21
SetRoomAliasJob(std::string serverUrl, std::string _accessToken, std::string roomAlias, std::string roomId)
Create a new mapping from room alias to room ID.
Definition: directory.cpp:39
static BaseJob::Query buildQuery()
Definition: directory.cpp:13
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