voice
voice
discord.js
discord-api-types
brokers
builders
collection
core
formatters
next
proxy
rest
structures
util
voice
ws
Loading versions...
Search...
K
Toggle Sidebar
interface
SessionMethods
export
interface
SessionMethods
Table of contents
Properties
ready
voicePrivacyCode
Methods
canPassthrough
decrypt
encryptOpus
getSerializedKeyPackage
getVerificationCode
processCommit
processProposals
processWelcome
reinit
reset
setExternalSender
setPassthroughMode
Properties
ready :
boolean
voicePrivacyCode :
string
Methods
canPassthrough
(
userId:
string
) :
boolean
decrypt
(
userId:
string
mediaType:
0 | 1
packet:
Buffer
) :
Buffer
encryptOpus
(
packet:
Buffer
) :
Buffer
getSerializedKeyPackage
() :
Buffer
getVerificationCode
(
userId:
string
) :
Promise
<
string
>
processCommit
(
commit:
Buffer
) :
void
processProposals
(
optype:
0 | 1
proposals:
Buffer
recognizedUserIds?:
string
[]
) :
ProposalsResult
processWelcome
(
welcome:
Buffer
) :
void
reinit
(
protocolVersion:
number
userId:
string
channelId:
string
) :
void
reset
() :
void
setExternalSender
(
externalSender:
Buffer
) :
void
setPassthroughMode
(
passthrough:
boolean
expiry:
number
) :
void