Skip to main content

fluxer/model/
voice.rs

1use serde::{Deserialize, Serialize};
2
3/// Voice connection state, populated internally from gateway events
4/// during the voice handshake.
5#[derive(Debug, Clone, Serialize, Deserialize)]
6pub struct VoiceState {
7    pub token: String,
8    pub endpoint: String,
9    pub session_id: Option<String>,
10}