Search
Preparing search index...
The search index is not available
不和 (Fuwa)
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
不和 (Fuwa)
DMChannel
Class DMChannel
Hierarchy
BaseTextChannel
DMChannel
Index
Constructors
constructor
Properties
client
guild
Id
id
last
Message
Id
messages
recipient
Id
type
Accessors
created
At
created
Timestamp
guild
recipient
Methods
_deserialise
_set_
guild
create
Message
fetch
toJSON
Constructors
constructor
new DMChannel
(
client
:
Client
)
:
DMChannel
Parameters
client:
Client
Returns
DMChannel
Properties
client
client
:
Client
guild
Id
guild
Id
:
null
|
string
= null
id
id
:
string
last
Message
Id
last
Message
Id
:
null
|
string
messages
messages
:
ChannelMessageManager
recipient
Id
recipient
Id
:
string
type
type
:
ChannelType
= ChannelType.GuildCategory
Accessors
created
At
get
createdAt
(
)
:
Date
Returns
Date
created
Timestamp
get
createdTimestamp
(
)
:
number
Returns
number
guild
get
guild
(
)
:
null
|
Guild
Returns
null
|
Guild
recipient
get
recipient
(
)
:
User
Returns
User
Methods
_deserialise
_deserialise
(
data
:
APIDMChannel
)
:
DMChannel
Parameters
data:
APIDMChannel
Returns
DMChannel
_set_
guild
_set_
guild
(
id
:
string
)
:
DMChannel
Parameters
id:
string
Returns
DMChannel
create
Message
create
Message
(
data
:
string
|
MessagePayload
|
MessagePayloadData
)
:
Promise
<
Message
<
TextChannel
>
>
Parameters
data:
string
|
MessagePayload
|
MessagePayloadData
Returns
Promise
<
Message
<
TextChannel
>
>
fetch
fetch
(
)
:
Promise
<
DMChannel
>
Returns
Promise
<
DMChannel
>
toJSON
toJSON
(
)
:
APIDMChannel
Returns
APIDMChannel
Exports
Internals
Tokens
Externals
Types
DMChannel
constructor
client
guild
Id
id
last
Message
Id
messages
recipient
Id
type
created
At
created
Timestamp
guild
recipient
_deserialise
_set_
guild
create
Message
fetch
toJSON
Generated using
TypeDoc