DiscordVoiceServerUpdateData

constructor(token: String, guildId: Snowflake, endpoint: String?)(source)

Parameters

token

The voice connection token.

guildId

The guild id this server update is for.

endpoint

The voice server host. A 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.