#pragma once /// @file /// @brief Return value of the server and API version query. #if __has_include() #include #else #include #endif namespace mtx { namespace responses { //! Response from the `GET /_matrix/client/versions` endpoint. // //! Gets the versions of the specification supported by the server. struct Versions { //! The supported versions. std::vector versions; friend void from_json(const nlohmann::json &obj, Versions &response); }; } }