From 8ed2cd65b6b49ad6bd4d91c0de71b4be863456b2 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sat, 28 Aug 2021 02:28:41 -0400 Subject: archive/unarchive from channel list --- discord/objects.hpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'discord/objects.hpp') 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 Archived; + std::optional Locked; + + friend void to_json(nlohmann::json &j, const ModifyChannelObject &m); +}; -- cgit v1.2.3