|
| DeleteRoomAliasJob (std::string serverUrl, std::string _accessToken, std::string roomAlias) |
| Remove a mapping of room alias to room ID. More...
|
|
DeleteRoomAliasJob | withData (JsonWrap j) && |
|
DeleteRoomAliasJob | withData (JsonWrap j) const & |
|
| BaseJob (std::string serverUrl, std::string requestUrl, Method method, std::string jobId, std::string token={}, ReturnType returnType=ReturnType::Json, Body body=EmptyBody{}, Query query={}, Header header={}, std::optional< FileDesc > responseFile=std::nullopt) |
|
| ~BaseJob () |
|
bool | shouldReturnJson () const |
|
std::string | url () const |
|
Body | requestBody () const |
|
Header | requestHeader () const |
|
ReturnType | returnType () const |
|
Query | requestQuery () const |
| returns the non-encoded query as an array of pairs More...
|
|
Method | requestMethod () const |
|
Response | genResponse (Response r) const |
|
BaseJob | withData (JsonWrap j) && |
|
BaseJob | withData (JsonWrap j) const & |
|
BaseJob | withQueue (std::string id, JobQueuePolicy policy=AlwaysContinue) && |
|
BaseJob | withQueue (std::string id, JobQueuePolicy policy=AlwaysContinue) const & |
|
json | dataJson (const std::string &key) const |
|
std::string | dataStr (const std::string &key) const |
|
std::string | jobId () const |
|
std::optional< std::string > | queueId () const |
|
JobQueuePolicy | queuePolicy () const |
|
std::optional< FileDesc > | responseFile () const |
|
Remove a mapping of room alias to room ID.
Remove a mapping of room alias to room ID.
Servers may choose to implement additional access control checks here, for instance that room aliases can only be deleted by their creator or a server administrator.
Note: Servers may choose to update the alt_aliases
for the m.room.canonical_alias
state event in the room when an alias is removed. Servers which choose to update the canonical alias event are recommended to, in addition to their other relevant permission checks, delete the alias and return a successful response even if the user does not have permission to update the m.room.canonical_alias
event.