17 #ifndef MASTODON_CPP_EASY_EMOJI_HPP 18 #define MASTODON_CPP_EASY_EMOJI_HPP 24 #include "mastodon-cpp.hpp" 25 #include "easy/entity.hpp" 27 #include <mastodon-cpp/mastodon-cpp.hpp> 28 #include <mastodon-cpp/easy/entity.hpp> 47 virtual bool valid()
const override;
68 const string url()
const;
73 #endif // MASTODON_CPP_EASY_EMOJI_HPP Entity()
Constructs an empty Entity object.
Definition: entity.cpp:42
const string static_url() const
Returns the URL to the emoji static image.
Definition: emoji.cpp:40
Collection of things to interface with server software that implements the Mastodon API...
Definition: mastodon-cpp.hpp:52
Base class for all entities.
Definition: entity.hpp:41
const string shortcode() const
Returns the shortcode of the emoji.
Definition: emoji.cpp:35
Class to hold emojis.
Definition: emoji.hpp:42
const string url() const
Returns the URL to the emoji image.
Definition: emoji.cpp:45
virtual bool valid() const override
Returns true if the Entity holds valid data.
Definition: emoji.cpp:23