Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
TextVoiceChannel
Class TextVoiceChannel
Hierarchy
VoiceChannel
TextVoiceChannel
Implements
GuildTextable
Index
Constructors
constructor
Properties
bitrate
client
created
At
guild
id
last
MessageID
mention
messages
name
nsfw
parentID
permission
Overwrites
position
rate
Limit
Per
User
rtc
Region
type
user
Limit
video
Quality
Mode
voice
Members
Methods
add
Message
Reaction
create
Invite
create
Message
create
Webhook
delete
delete
Message
delete
Messages
delete
Permission
edit
edit
Message
edit
Permission
edit
Position
get
Invites
get
Message
get
Message
Reaction
get
Messages
get
Webhooks
inspect
join
leave
permissions
Of
purge
remove
Message
Reaction
remove
Message
Reaction
Emoji
remove
Message
Reactions
send
Typing
toJSON
to
String
unsend
Message
from
get
Created
At
get
Discord
Epoch
Constructors
constructor
new
Text
Voice
Channel
(
data
:
BaseData
, client
:
Client
)
:
TextVoiceChannel
Parameters
data:
BaseData
client:
Client
Returns
TextVoiceChannel
Properties
bitrate
bitrate
:
number
client
client
:
Client
created
At
created
At
:
number
guild
guild
:
Guild
id
id
:
string
last
MessageID
last
MessageID
:
string
mention
mention
:
string
messages
messages
:
Collection
<
Message
<
TextVoiceChannel
>
>
name
name
:
string
nsfw
nsfw
:
boolean
parentID
parentID
:
null
|
string
permission
Overwrites
permission
Overwrites
:
Collection
<
PermissionOverwrite
>
position
position
:
number
rate
Limit
Per
User
rate
Limit
Per
User
:
number
rtc
Region
rtc
Region
:
null
|
string
type
type
:
TextVoiceChannelTypes
user
Limit
user
Limit
:
number
video
Quality
Mode
video
Quality
Mode
:
VideoQualityMode
voice
Members
voice
Members
:
Collection
<
Member
>
Methods
add
Message
Reaction
add
Message
Reaction
(
messageID
:
string
, reaction
:
string
)
:
Promise
<
void
>
add
Message
Reaction
(
messageID
:
string
, reaction
:
string
, userID
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
reaction:
string
Returns
Promise
<
void
>
deprecated
Parameters
messageID:
string
reaction:
string
userID:
string
Returns
Promise
<
void
>
create
Invite
create
Invite
(
options
?:
CreateInviteOptions
, reason
?:
string
)
:
Promise
<
Invite
<
"withMetadata"
,
VoiceChannel
>
>
Parameters
Optional
options:
CreateInviteOptions
Optional
reason:
string
Returns
Promise
<
Invite
<
"withMetadata"
,
VoiceChannel
>
>
create
Message
create
Message
(
content
:
MessageContent
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
Message
<
TextVoiceChannel
>
>
Parameters
content:
MessageContent
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
Message
<
TextVoiceChannel
>
>
create
Webhook
create
Webhook
(
options
:
{
avatar
?:
null
|
string
;
name
:
string
}
, reason
?:
string
)
:
Promise
<
Webhook
>
Parameters
options:
{
avatar
?:
null
|
string
;
name
:
string
}
Optional
avatar
?:
null
|
string
name
:
string
Optional
reason:
string
Returns
Promise
<
Webhook
>
delete
delete
(
reason
?:
string
)
:
Promise
<
void
>
Parameters
Optional
reason:
string
Returns
Promise
<
void
>
delete
Message
delete
Message
(
messageID
:
string
, reason
?:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
Optional
reason:
string
Returns
Promise
<
void
>
delete
Messages
delete
Messages
(
messageIDs
:
string
[]
, reason
?:
string
)
:
Promise
<
void
>
Parameters
messageIDs:
string
[]
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
<
TextVoiceChannel
>
Parameters
options:
Omit
<
EditChannelOptions
,
"icon"
|
"ownerID"
>
Optional
reason:
string
Returns
Promise
<
TextVoiceChannel
>
edit
Message
edit
Message
(
messageID
:
string
, content
:
MessageContentEdit
)
:
Promise
<
Message
<
TextVoiceChannel
>
>
Parameters
messageID:
string
content:
MessageContentEdit
Returns
Promise
<
Message
<
TextVoiceChannel
>
>
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
>
[]
>
get
Message
get
Message
(
messageID
:
string
)
:
Promise
<
Message
<
TextVoiceChannel
>
>
Parameters
messageID:
string
Returns
Promise
<
Message
<
TextVoiceChannel
>
>
get
Message
Reaction
get
Message
Reaction
(
messageID
:
string
, reaction
:
string
, options
?:
GetMessageReactionOptions
)
:
Promise
<
User
[]
>
get
Message
Reaction
(
messageID
:
string
, reaction
:
string
, limit
?:
number
, before
?:
string
, after
?:
string
)
:
Promise
<
User
[]
>
Parameters
messageID:
string
reaction:
string
Optional
options:
GetMessageReactionOptions
Returns
Promise
<
User
[]
>
deprecated
Parameters
messageID:
string
reaction:
string
Optional
limit:
number
Optional
before:
string
Optional
after:
string
Returns
Promise
<
User
[]
>
get
Messages
get
Messages
(
options
?:
GetMessagesOptions
)
:
Promise
<
Message
<
TextVoiceChannel
>
[]
>
get
Messages
(
limit
?:
number
, before
?:
string
, after
?:
string
, around
?:
string
)
:
Promise
<
Message
<
TextableChannel
>
[]
>
Parameters
Optional
options:
GetMessagesOptions
Returns
Promise
<
Message
<
TextVoiceChannel
>
[]
>
deprecated
Parameters
Optional
limit:
number
Optional
before:
string
Optional
after:
string
Optional
around:
string
Returns
Promise
<
Message
<
TextableChannel
>
[]
>
get
Webhooks
get
Webhooks
(
)
:
Promise
<
Webhook
[]
>
Returns
Promise
<
Webhook
[]
>
inspect
inspect
(
)
:
TextVoiceChannel
Returns
TextVoiceChannel
join
join
(
options
?:
JoinVoiceChannelOptions
)
:
Promise
<
VoiceConnection
>
Parameters
Optional
options:
JoinVoiceChannelOptions
Returns
Promise
<
VoiceConnection
>
leave
leave
(
)
:
void
Returns
void
permissions
Of
permissions
Of
(
memberID
:
string
|
Member
|
MemberRoles
)
:
Permission
Parameters
memberID:
string
|
Member
|
MemberRoles
Returns
Permission
purge
purge
(
options
:
PurgeChannelOptions
)
:
Promise
<
number
>
Parameters
options:
PurgeChannelOptions
Returns
Promise
<
number
>
remove
Message
Reaction
remove
Message
Reaction
(
messageID
:
string
, reaction
:
string
, userID
?:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
reaction:
string
Optional
userID:
string
Returns
Promise
<
void
>
remove
Message
Reaction
Emoji
remove
Message
Reaction
Emoji
(
messageID
:
string
, reaction
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
reaction:
string
Returns
Promise
<
void
>
remove
Message
Reactions
remove
Message
Reactions
(
messageID
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
Returns
Promise
<
void
>
send
Typing
send
Typing
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
toJSON
toJSON
(
props
?:
string
[]
)
:
JSONCache
Parameters
Optional
props:
string
[]
Returns
JSONCache
to
String
to
String
(
)
:
string
Returns
string
unsend
Message
unsend
Message
(
messageID
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
Returns
Promise
<
void
>
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
Static
get
Discord
Epoch
get
Discord
Epoch
(
id
:
string
)
:
number
Parameters
id:
string
Returns
number
Exports
Externals
Eris
Text
Voice
Channel
constructor
bitrate
client
created
At
guild
id
last
MessageID
mention
messages
name
nsfw
parentID
permission
Overwrites
position
rate
Limit
Per
User
rtc
Region
type
user
Limit
video
Quality
Mode
voice
Members
add
Message
Reaction
create
Invite
create
Message
create
Webhook
delete
delete
Message
delete
Messages
delete
Permission
edit
edit
Message
edit
Permission
edit
Position
get
Invites
get
Message
get
Message
Reaction
get
Messages
get
Webhooks
inspect
join
leave
permissions
Of
purge
remove
Message
Reaction
remove
Message
Reaction
Emoji
remove
Message
Reactions
send
Typing
toJSON
to
String
unsend
Message
from
get
Created
At
get
Discord
Epoch
Generated using
TypeDoc