basic THREAD_MEMBERS_UPDATE handling for updating channel list

This commit is contained in:
ouwou
2021-08-02 02:00:03 -04:00
parent 06f85c3a2d
commit a19d214272
6 changed files with 55 additions and 5 deletions

View File

@@ -690,3 +690,13 @@ struct ThreadListSyncData {
friend void from_json(const nlohmann::json &j, ThreadListSyncData &m);
};
struct ThreadMembersUpdateData {
Snowflake ID;
Snowflake GuildID;
int MemberCount;
std::optional<std::vector<ThreadMemberObject>> AddedMembers;
std::optional<std::vector<Snowflake>> RemovedMemberIDs;
friend void from_json(const nlohmann::json &j, ThreadMembersUpdateData &m);
};