Search
Preparing search index...
The search index is not available
Avocord
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Avocord
DMChannel
Class DMChannel
Hierarchy
BaseChannel
<
APIDMChannel
>
DMChannel
Index
Constructors
constructor
Properties
client
data
Accessors
id
last
Message
Id
name
recipients
type
user
Methods
close
Constructors
constructor
new DMChannel
(
client
:
Client
, data
:
APIDMChannel
)
:
DMChannel
Parameters
client:
Client
data:
APIDMChannel
Returns
DMChannel
Properties
client
client
:
Client
data
data
:
APIDMChannel
Accessors
id
get
id
(
)
:
string
Returns
string
last
Message
Id
get
lastMessageId
(
)
:
undefined
|
null
|
string
Returns
undefined
|
null
|
string
name
get
name
(
)
:
string
Returns
string
recipients
get
recipients
(
)
:
undefined
|
APIUser
[]
Returns
undefined
|
APIUser
[]
type
get
type
(
)
:
GuildText
|
DM
|
GuildVoice
|
GroupDM
|
GuildCategory
|
GuildNews
|
GuildNewsThread
|
GuildPublicThread
|
GuildPrivateThread
|
GuildStageVoice
|
GuildForum
Returns
GuildText
|
DM
|
GuildVoice
|
GroupDM
|
GuildCategory
|
GuildNews
|
GuildNewsThread
|
GuildPublicThread
|
GuildPrivateThread
|
GuildStageVoice
|
GuildForum
user
get
user
(
)
:
undefined
|
APIUser
Returns
undefined
|
APIUser
Methods
close
close
(
)
:
Promise
<
<internal>
.
Channel
>
Returns
Promise
<
<internal>
.
Channel
>
Exports
<internal>
DMChannel
constructor
client
data
id
last
Message
Id
name
recipients
type
user
close
Generated using
TypeDoc