Search
Preparing search index...
The search index is not available
Detritus Client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Detritus Client
structures/voicecall
VoiceCall
Class VoiceCall
VoiceCall Structure a DM Channel's call (non-bots only)
Hierarchy
BaseStructure
VoiceCall
Index
Constructors
constructor
Properties
_keys
_keys
Merge
channel
Id
client
message
Id
region
ringing
unavailable
Accessors
am
Being
Ringed
channel
is
Clone
joined
shard
Id
voice
Connection
voice
States
Methods
[custom]
_get
From
Snake
_set
From
Snake
clone
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
is
Ringing
join
kill
merge
merge
Value
start
Ringing
stop
Ringing
toJSON
Constructors
constructor
new
Voice
Call
(
client
:
ShardClient
, data
?:
BaseStructureData
, isClone
?:
boolean
)
:
VoiceCall
Parameters
client:
ShardClient
Optional
data:
BaseStructureData
Optional
isClone:
boolean
Returns
VoiceCall
Properties
Readonly
_keys
_keys
:
BaseSet
<
string
>
= ...
Readonly
_keys
Merge
_keys
Merge
:
BaseSet
<
string
>
= ...
channel
Id
channel
Id
:
string
= ''
Readonly
client
client
:
ShardClient
message
Id
message
Id
:
string
= ''
region
region
:
string
= ''
Readonly
ringing
ringing
:
BaseCollection
<
string
,
null
|
User
>
= ...
unavailable
unavailable
:
boolean
= false
Accessors
am
Being
Ringed
get
amBeingRinged
(
)
:
boolean
Returns
boolean
channel
get
channel
(
)
:
null
|
Channel
Returns
null
|
Channel
is
Clone
get
isClone
(
)
:
boolean
Returns
boolean
joined
get
joined
(
)
:
boolean
Returns
boolean
shard
Id
get
shardId
(
)
:
number
Returns
number
voice
Connection
get
voiceConnection
(
)
:
null
|
VoiceConnection
Returns
null
|
VoiceConnection
voice
States
get
voiceStates
(
)
:
BaseCollection
<
string
,
VoiceState
>
Returns
BaseCollection
<
string
,
VoiceState
>
Methods
[custom]
[custom]
(
)
:
object
Returns
object
_get
From
Snake
_get
From
Snake
(
key
:
string
)
:
any
Parameters
key:
string
Returns
any
_set
From
Snake
_set
From
Snake
(
key
:
string
, value
:
any
)
:
any
Parameters
key:
string
value:
any
Returns
any
clone
clone
(
)
:
VoiceCall
Returns
VoiceCall
difference
difference
(
key
:
string
, value
:
any
)
:
[
boolean
,
any
]
Parameters
key:
string
value:
any
Returns
[
boolean
,
any
]
differences
differences
(
data
?:
BaseStructureData
)
:
null
|
object
Parameters
Optional
data:
BaseStructureData
Returns
null
|
object
differences
Between
differences
Between
(
structure
:
Structure
)
:
null
|
object
Parameters
structure:
Structure
Returns
null
|
object
has
Difference
has
Difference
(
key
:
string
, value
:
any
)
:
boolean
Parameters
key:
string
value:
any
Returns
boolean
has
Differences
has
Differences
(
data
?:
BaseStructureData
)
:
boolean
Parameters
Optional
data:
BaseStructureData
Returns
boolean
has
Differences
Between
has
Differences
Between
(
structure
:
Structure
)
:
boolean
Parameters
structure:
Structure
Returns
boolean
is
Ringing
is
Ringing
(
userId
:
string
)
:
boolean
Parameters
userId:
string
Returns
boolean
join
join
(
options
:
VoiceConnectOptions
)
:
Promise
<
null
|
VoiceConnectObject
>
Parameters
options:
VoiceConnectOptions
Returns
Promise
<
null
|
VoiceConnectObject
>
kill
kill
(
)
:
void
Returns
void
merge
merge
(
data
?:
BaseStructureData
)
:
void
Parameters
Optional
data:
BaseStructureData
Returns
void
merge
Value
merge
Value
(
key
:
string
, value
:
any
)
:
void
Parameters
key:
string
value:
any
Returns
void
start
Ringing
start
Ringing
(
recipients
?:
string
[]
)
:
Promise
<
any
>
Parameters
Optional
recipients:
string
[]
Returns
Promise
<
any
>
stop
Ringing
stop
Ringing
(
recipients
?:
string
[]
)
:
Promise
<
any
>
Parameters
Optional
recipients:
string
[]
Returns
Promise
<
any
>
toJSON
toJSON
(
)
:
object
Returns
object
Exports
structures/voicecall
Voice
Call
constructor
_keys
_keys
Merge
channel
Id
client
message
Id
region
ringing
unavailable
am
Being
Ringed
channel
is
Clone
joined
shard
Id
voice
Connection
voice
States
[custom]
_get
From
Snake
_set
From
Snake
clone
difference
differences
differences
Between
has
Difference
has
Differences
has
Differences
Between
is
Ringing
join
kill
merge
merge
Value
start
Ringing
stop
Ringing
toJSON
Generated using
TypeDoc
VoiceCall Structure a DM Channel's call (non-bots only)