diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-08-28 02:28:41 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2021-08-28 02:28:41 -0400 |
commit | 8ed2cd65b6b49ad6bd4d91c0de71b4be863456b2 (patch) | |
tree | a964f4fce906537e3ce9d1247b3d8f681e8d65c5 /discord/objects.hpp | |
parent | 3977159415fe8162f4dc68a4d16fc999af927b58 (diff) | |
download | abaddon-portaudio-8ed2cd65b6b49ad6bd4d91c0de71b4be863456b2.tar.gz abaddon-portaudio-8ed2cd65b6b49ad6bd4d91c0de71b4be863456b2.zip |
archive/unarchive from channel list
Diffstat (limited to 'discord/objects.hpp')
-rw-r--r-- | discord/objects.hpp | 7 |
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); +}; |