17 #ifndef MASTODON_CPP_EASY_MENTION_HPP 18 #define MASTODON_CPP_EASY_MENTION_HPP 25 #include "mastodon-cpp.hpp" 26 #include "easy/easy.hpp" 28 #include <mastodon-cpp/mastodon-cpp.hpp> 29 #include <mastodon-cpp/easy/easy.hpp> 33 using std::uint_fast64_t;
34 using std::chrono::system_clock;
49 explicit Mention(
const string &json);
59 const string acct()
const;
64 const uint_fast64_t
id()
const;
69 const string url()
const;
78 #endif // MASTODON_CPP_EASY_MENTION_HPP const string acct() const
Returns acct.
Definition: mention.cpp:30
Mention()
Constructs an empty Mention object.
Definition: mention.cpp:26
Class to hold mentions.
Definition: mention.hpp:41
const uint_fast64_t id() const
Returns account ID.
Definition: mention.cpp:35
Definition: mastodon-cpp.hpp:51
Base class for all entities.
Definition: easy.hpp:225
const string url() const
Returns the URL of user's profile.
Definition: mention.cpp:40
const string username() const
Returns the username of the account.
Definition: mention.cpp:45