diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-02 17:36:10 -0500 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2020-11-02 17:36:10 -0500 |
commit | b97722e93775d8778400d42f30299d55682906f1 (patch) | |
tree | e497d0aafa7719208c219d88fc5e3901965be9a9 /discord/message.hpp | |
parent | 8efa2024582b0a2aeda72f3e6865a4562717eabc (diff) | |
download | abaddon-portaudio-b97722e93775d8778400d42f30299d55682906f1.tar.gz abaddon-portaudio-b97722e93775d8778400d42f30299d55682906f1.zip |
show non-lottie stickers statically
Diffstat (limited to 'discord/message.hpp')
-rw-r--r-- | discord/message.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/message.hpp b/discord/message.hpp index 35adc3b..629fc9f 100644 --- a/discord/message.hpp +++ b/discord/message.hpp @@ -2,6 +2,7 @@ #include "snowflake.hpp" #include "json.hpp" #include "user.hpp" +#include "sticker.hpp" #include <string> #include <vector> @@ -154,6 +155,7 @@ struct Message { // std::optional<MessageApplicationData> Application; std::optional<MessageReferenceData> MessageReference; std::optional<MessageFlags> Flags = MessageFlags::NONE; + std::optional<std::vector<Sticker>> Stickers; friend void from_json(const nlohmann::json &j, Message &m); void from_json_edited(const nlohmann::json &j); // for MESSAGE_UPDATE |