From d2f6bd08fc27c2e499ab1573604932448feef269 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 16 Aug 2021 02:47:08 -0400 Subject: handle archiving via THREAD_UPDATE (sorta) --- discord/objects.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'discord/objects.hpp') diff --git a/discord/objects.hpp b/discord/objects.hpp index 4e7de81..daaa9b2 100644 --- a/discord/objects.hpp +++ b/discord/objects.hpp @@ -714,3 +714,9 @@ struct ThreadMemberUpdateData { friend void from_json(const nlohmann::json &j, ThreadMemberUpdateData &m); }; + +struct ThreadUpdateData { + ChannelData Thread; + + friend void from_json(const nlohmann::json &j, ThreadUpdateData &m); +}; -- cgit v1.2.3