Skip to main content
Version: v2.10.0

Interface: VoicePacket

Represents a Discord voice packet that is either a state update or a server update.

Property Type Description Optional
tstring = "VOICE_SERVER_UPDATE" | "VOICE_STATE_UPDATE"The type of voice packet, matching the Discord gateway event name.
dVoiceServer | VoiceStateThe payload data of the packet.