Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
VoiceChannel
Class VoiceChannel
Hierarchy
GuildChannel
VoiceChannel
StageChannel
Implements
Invitable
Index
Constructors
constructor
Properties
bitrate
client
created
At
guild
id
mention
name
nsfw
parentID
permission
Overwrites
position
rtc
Region
type
user
Limit
video
Quality
Mode
voice
Members
Methods
create
Invite
delete
delete
Permission
edit
edit
Permission
edit
Position
get
Invites
inspect
join
leave
permissions
Of
toJSON
to
String
from
get
Created
At
Constructors
constructor
new
Voice
Channel
(
data
:
BaseData
, guild
:
Guild
)
:
VoiceChannel
Parameters
data:
BaseData
guild:
Guild
Returns
VoiceChannel
Properties
bitrate
bitrate
:
number
client
client
:
Client
created
At
created
At
:
number
guild
guild
:
Guild
id
id
:
string
mention
mention
:
string
name
name
:
string
nsfw
nsfw
:
boolean
parentID
parentID
:
null
|
string
permission
Overwrites
permission
Overwrites
:
Collection
<
PermissionOverwrite
>
position
position
:
number
rtc
Region
rtc
Region
:
null
|
string
type
type
:
13
|
2
user
Limit
user
Limit
:
number
video
Quality
Mode
video
Quality
Mode
:
VideoQualityMode
voice
Members
voice
Members
:
Collection
<
Member
>
Methods
create
Invite
create
Invite
(
options
?:
CreateInviteOptions
, reason
?:
string
)
:
Promise
<
Invite
<
"withMetadata"
,
VoiceChannel
>
>
Parameters
Optional
options:
CreateInviteOptions
Optional
reason:
string
Returns
Promise
<
Invite
<
"withMetadata"
,
VoiceChannel
>
>
delete
delete
(
reason
?:
string
)
:
Promise
<
void
>
Parameters
Optional
reason:
string
Returns
Promise
<
void
>
delete
Permission
delete
Permission
(
overwriteID
:
string
, reason
?:
string
)
:
Promise
<
void
>
Parameters
overwriteID:
string
Optional
reason:
string
Returns
Promise
<
void
>
edit
edit
(
options
:
Omit
<
EditChannelOptions
,
"icon"
|
"ownerID"
>
, reason
?:
string
)
:
Promise
<
VoiceChannel
>
Parameters
options:
Omit
<
EditChannelOptions
,
"icon"
|
"ownerID"
>
Optional
reason:
string
Returns
Promise
<
VoiceChannel
>
edit
Permission
edit
Permission
(
overwriteID
:
string
, allow
:
number
|
bigint
, deny
:
number
|
bigint
, type
:
PermissionType
, reason
?:
string
)
:
Promise
<
PermissionOverwrite
>
Parameters
overwriteID:
string
allow:
number
|
bigint
deny:
number
|
bigint
type:
PermissionType
Optional
reason:
string
Returns
Promise
<
PermissionOverwrite
>
edit
Position
edit
Position
(
position
:
number
, options
?:
EditChannelPositionOptions
)
:
Promise
<
void
>
Parameters
position:
number
Optional
options:
EditChannelPositionOptions
Returns
Promise
<
void
>
get
Invites
get
Invites
(
)
:
Promise
<
Invite
<
"withMetadata"
,
VoiceChannel
>
[]
>
Returns
Promise
<
Invite
<
"withMetadata"
,
VoiceChannel
>
[]
>
inspect
inspect
(
)
:
VoiceChannel
Returns
VoiceChannel
join
join
(
options
:
{
opusOnly
?:
boolean
;
shared
?:
boolean
}
)
:
Promise
<
VoiceConnection
>
Parameters
options:
{
opusOnly
?:
boolean
;
shared
?:
boolean
}
Optional
opus
Only
?:
boolean
Optional
shared
?:
boolean
Returns
Promise
<
VoiceConnection
>
leave
leave
(
)
:
void
Returns
void
permissions
Of
permissions
Of
(
memberID
:
string
|
Member
)
:
Permission
Parameters
memberID:
string
|
Member
Returns
Permission
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
to
String
to
String
(
)
:
string
Returns
string
Static
from
from
(
data
:
BaseData
, client
:
Client
)
:
AnyChannel
Parameters
data:
BaseData
client:
Client
Returns
AnyChannel
Static
get
Created
At
get
Created
At
(
id
:
string
)
:
number
Parameters
id:
string
Returns
number
Exports
Externals
Eris
Voice
Channel
constructor
bitrate
client
created
At
guild
id
mention
name
nsfw
parentID
permission
Overwrites
position
rtc
Region
type
user
Limit
video
Quality
Mode
voice
Members
create
Invite
delete
delete
Permission
edit
edit
Permission
edit
Position
get
Invites
inspect
join
leave
permissions
Of
toJSON
to
String
from
get
Created
At
Generated using
TypeDoc