From 06f85c3a2de5af9e0d63ff86a8e411030d1ee45d Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Mon, 2 Aug 2021 00:53:08 -0400 Subject: THREAD_LIST_SYNC --- discord/objects.hpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'discord/objects.hpp') diff --git a/discord/objects.hpp b/discord/objects.hpp index 956e2d0..7493404 100644 --- a/discord/objects.hpp +++ b/discord/objects.hpp @@ -681,3 +681,12 @@ struct ThreadDeleteData { friend void from_json(const nlohmann::json &j, ThreadDeleteData &m); }; + +// pretty different from docs +struct ThreadListSyncData { + std::vector Threads; + Snowflake GuildID; + // std::optional> MostRecentMessages; + + friend void from_json(const nlohmann::json &j, ThreadListSyncData &m); +}; -- cgit v1.2.3