summaryrefslogtreecommitdiff
path: root/discord/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/objects.hpp')
-rw-r--r--discord/objects.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/discord/objects.hpp b/discord/objects.hpp
index a8bf082..e4b40b4 100644
--- a/discord/objects.hpp
+++ b/discord/objects.hpp
@@ -424,3 +424,11 @@ struct CreateMessageObject {
friend void to_json(nlohmann::json &j, const CreateMessageObject &m);
};
+
+struct MessageEditObject {
+ std::string Content; // opt, null
+ std::vector<EmbedData> Embeds; // opt, null
+ int Flags = -1; // opt, null
+
+ friend void to_json(nlohmann::json &j, const MessageEditObject &m);
+};