rudimentary dm voice call support

This commit is contained in:
ouwou
2022-10-01 17:46:10 -04:00
parent 3e3afde223
commit e08e3106d6
5 changed files with 46 additions and 7 deletions

View File

@@ -891,8 +891,9 @@ struct VoiceStateUpdateMessage {
struct VoiceServerUpdateData {
std::string Token;
Snowflake GuildID;
std::string Endpoint;
std::optional<Snowflake> GuildID;
std::optional<Snowflake> ChannelID;
friend void from_json(const nlohmann::json &j, VoiceServerUpdateData &m);
};