Preview environment

interface GatewayVoiceServerUpdateDispatchData

export interface GatewayVoiceServerUpdateDispatchData

https://discord.com/developers/docs/topics/gateway-events#voice-server-update

endpoint : string | null

The voice server hostA null endpoint means that the voice server allocated has gone away and is trying to be reallocated. You should attempt to disconnect from the currently connected voice server, and not attempt to reconnect until a new voice server is allocated

guild_id : Snowflake

The guild this voice server update is for

token : string

Voice connection token