include/mtx/responses/common.hpp file

Responses used by multiple endpoints.

Namespaces

namespace mtx
Top level namespace for mtxclient.
namespace mtx::responses
Namespace for the different types of responses.
namespace mtx::responses::utils
Different helper for parsing responses.

Classes

struct mtx::responses::EventId
An event id returned by the API.
struct mtx::responses::RoomId
A room id returned by the API.
struct mtx::responses::FilterId
A filter id returned by the API.
struct mtx::responses::Version
A new room version as returned by the room_keys/version API.
struct mtx::responses::Success
Some endpoints return this to indicate success in addition to the http code.
struct mtx::responses::Available
Some endpoints return this to indicate availability in addition to the http code (i.e. a username).
struct mtx::responses::RequestToken
Responses to the /requestToken endpoints.
struct mtx::responses::Aliases
A simple list of aliases.
struct mtx::responses::StateEvents
An array of state events.