Small types update

This commit is contained in:
kozabrada123 2023-08-29 18:18:48 +02:00
parent b04a906112
commit bbe24d60b9
1 changed files with 2 additions and 2 deletions

View File

@ -8,9 +8,9 @@ use serde::{Deserialize, Serialize};
/// Used to give info after the identify event;
/// See https://discord.com/developers/docs/topics/voice-connections#establishing-a-voice-websocket-connection-example-voice-ready-payload;
pub struct VoiceReady {
ssrc: u8,
ssrc: i32,
ip: Ipv4Addr,
port: u8,
port: u32,
modes: Vec<String>,
// Heartbeat interval is also sent, but is "an erroneous field and should be ignored. The correct heartbeat_interval value comes from the Hello payload."
}