diff options
Diffstat (limited to 'discord/sticker.hpp')
-rw-r--r-- | discord/sticker.hpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/discord/sticker.hpp b/discord/sticker.hpp index 89279b3..d23fe7b 100644 --- a/discord/sticker.hpp +++ b/discord/sticker.hpp @@ -27,3 +27,14 @@ struct StickerData { std::string GetURL() const; }; + +struct StickerItem { + StickerFormatType FormatType; + Snowflake ID; + std::string Name; + + friend void to_json(nlohmann::json &j, const StickerItem &m); + friend void from_json(const nlohmann::json &j, StickerItem &m); + + std::string GetURL() const; +}; |