twilight-model 0.17.1

Discord API models for the Twilight ecosystem.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::id::{Id, marker::GuildMarker};
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, Serialize)]
pub struct VoiceServerUpdate {
    /// Discord voice server endpoint.
    pub endpoint: Option<String>,
    pub guild_id: Id<GuildMarker>,
    /// Voice authentication token to connect to the Discord voice server.
    pub token: String,
}