This commit is contained in:
ouwou
2020-08-29 01:14:20 -04:00
parent 299ecc71d9
commit 713ed0f927
6 changed files with 99 additions and 6 deletions

View File

@@ -361,12 +361,20 @@ struct MessageData {
friend void from_json(const nlohmann::json &j, MessageData &m);
};
struct MessageDeleteData {
Snowflake ID; //
Snowflake ChannelID; //
Snowflake GuildID; // opt
friend void from_json(const nlohmann::json &j, MessageDeleteData &m);
};
struct ReadyEventData {
int GatewayVersion; //
UserData User; //
std::vector<GuildData> Guilds; //
std::string SessionID; //
// std::vector<ChannelData?/PrivateChannelData?> PrivateChannels;
int GatewayVersion; //
UserData User; //
std::vector<GuildData> Guilds; //
std::string SessionID; //
std::vector<ChannelData> PrivateChannels; //
// undocumented
std::string AnalyticsToken; // opt