interface ConnectionOptions

export interface ConnectionOptions

Details required to connect to the Discord voice gateway. These details are first received on the main bot gateway, in the form of VOICE_SERVER_UPDATE and VOICE_STATE_UPDATE packets.

endpoint : string

serverId : string

sessionId : string

token : string

userId : string