diff --git a/include/mtx/responses/device.hpp b/include/mtx/responses/device.hpp index 07936188402b19fe8bd9ffa3f0099a8c42f33834..c5569c4d22dc7ea5ec6a9626efee0aea2b1b4041 100644 --- a/include/mtx/responses/device.hpp +++ b/include/mtx/responses/device.hpp @@ -18,6 +18,7 @@ namespace mtx { namespace responses { +//! Information about one of your devices. struct Device { //! **Required.** Identifier of this device. diff --git a/include/mtx/responses/empty.hpp b/include/mtx/responses/empty.hpp index 3a47f45f6871e6cdddce7893c6abe64835b1278c..694a77236d83505fc886a809dc2b5ddddba74375 100644 --- a/include/mtx/responses/empty.hpp +++ b/include/mtx/responses/empty.hpp @@ -14,14 +14,17 @@ namespace mtx { namespace responses { -// Used to represent empty responses +//! Used to represent empty responses struct Empty { friend void from_json(const nlohmann::json &, Empty &); }; +//! The response for a logout. using Logout = Empty; +//! The response after changing your display name. using DisplayName = Empty; +//! The response after inviting a user to a room. using RoomInvite = Empty; } }