summaryrefslogtreecommitdiff
path: root/discord/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/objects.hpp')
-rw-r--r--discord/objects.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/discord/objects.hpp b/discord/objects.hpp
index 4613a85..7084efb 100644
--- a/discord/objects.hpp
+++ b/discord/objects.hpp
@@ -738,3 +738,10 @@ struct ThreadMemberListUpdateData {
friend void from_json(const nlohmann::json &j, ThreadMemberListUpdateData &m);
};
+
+struct ModifyChannelObject {
+ std::optional<bool> Archived;
+ std::optional<bool> Locked;
+
+ friend void to_json(nlohmann::json &j, const ModifyChannelObject &m);
+};