Update voice identify

This commit is contained in:
kozabrada123 2023-10-15 09:47:08 +02:00
parent cf70147500
commit fa3c3b76ae
1 changed files with 2 additions and 1 deletions

View File

@ -8,7 +8,8 @@ use serde::{Deserialize, Serialize};
/// ///
/// See <https://discord.com/developers/docs/topics/voice-connections#establishing-a-voice-websocket-connection-example-voice-identify-payload> /// See <https://discord.com/developers/docs/topics/voice-connections#establishing-a-voice-websocket-connection-example-voice-identify-payload>
pub struct VoiceIdentify { pub struct VoiceIdentify {
pub server_id: Snowflake, /// Not needed when in a dm call
pub server_id: Option<Snowflake>,
pub user_id: Snowflake, pub user_id: Snowflake,
pub session_id: String, pub session_id: String,
pub token: String, pub token: String,