Skip to main content
Version: v2.10.1

Type: LavalinkVoiceStateUpdate

Represents the voice connection payload sent to the Lavalink node when establishing or updating a voice connection.
Unlike LavalinkVoiceStateResponse, channelId is always a non-null string here — this type is only used when an active channel is known.

Property Type Description Optional
tokenstringThe authentication token for the voice connection.
endpointstringThe voice server endpoint to connect to.
sessionIdstringThe session ID for the voice connection.
channelIdstringThe voice channel ID the bot is connecting to.