summaryrefslogtreecommitdiff
path: root/src/discord/objects.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/objects.hpp')
-rw-r--r--src/discord/objects.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/discord/objects.hpp b/src/discord/objects.hpp
index e026311..44afe8d 100644
--- a/src/discord/objects.hpp
+++ b/src/discord/objects.hpp
@@ -957,4 +957,12 @@ struct CallCreateData {
friend void from_json(const nlohmann::json &j, CallCreateData &m);
};
+
+struct ModifyCurrentUserVoiceStateObject {
+ std::optional<Snowflake> ChannelID;
+ std::optional<bool> Suppress;
+ std::optional<std::string> RequestToSpeakTimestamp;
+
+ friend void to_json(nlohmann::json &j, const ModifyCurrentUserVoiceStateObject &m);
+};
#endif