17 #ifndef MASTODON_CPP_EASY_EMOJI_HPP 18 #define MASTODON_CPP_EASY_EMOJI_HPP 24 #include "mastodon-cpp.hpp" 25 #include "easy/easy.hpp" 27 #include <mastodon-cpp/mastodon-cpp.hpp> 28 #include <mastodon-cpp/easy/easy.hpp> 50 explicit Emoji(
const string &json);
59 virtual const bool valid()
const;
80 const string url()
const;
84 #endif // MASTODON_CPP_EASY_EMOJI_HPP Emoji()
Constructs an empty Emoji object.
Definition: emoji.cpp:27
virtual const bool valid() const
Returns true if the Entity holds valid data.
Definition: emoji.cpp:31
const string static_url() const
Returns the URL to the emoji static image.
Definition: emoji.cpp:48
Definition: mastodon-cpp.hpp:52
Base class for all entities.
Definition: easy.hpp:304
const string shortcode() const
Returns the shortcode of the emoji.
Definition: emoji.cpp:43
Class to hold emojis.
Definition: emoji.hpp:40
const string url() const
Returns the URL to the emoji image.
Definition: emoji.cpp:53