Preview environment

interface RPCVoiceConnectionStatusDispatchData

export interface RPCVoiceConnectionStatusDispatchData<State extends VoiceConnectionStates = VoiceConnectionStates>

See also: https://discord.com/developers/docs/topics/rpc#voiceconnectionstatus-voice-connection-status-dispatch-data-structure

Type Parameters

average_ping : number

Average ping (in ms)

Hostname of the connected voice server

last_ping : number

Last ping (in ms)

All of the accumulated pings since connection

state : State

Voice connection states