Search
Preparing search index...
The search index is not available
不和 (Fuwa)
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
不和 (Fuwa)
BaseTextChannelInGuild
Class BaseTextChannelInGuild
Hierarchy
GuildChannel
BaseTextChannelInGuild
GuildVoiceChannel
BaseGuildTextChannel
Implements
BaseTextChannel
Index
Constructors
constructor
Properties
client
guild
Id
id
last
Message
Id
messages
name
nsfw
parent
Id
position
type
Accessors
children
create
Message
created
At
created
Timestamp
delete
guild
parent
Methods
_deserialise
_set_
guild
fetch
set
Name
set
Nsfw
set
Parent
set
Position
toJSON
create
resolve
toJSON
Constructors
constructor
new
Base
Text
Channel
In
Guild
(
client
:
Client
)
:
BaseTextChannelInGuild
Parameters
client:
Client
Returns
BaseTextChannelInGuild
Properties
client
client
:
Client
guild
Id
guild
Id
:
null
|
string
= null
id
id
:
string
last
Message
Id
last
Message
Id
:
null
|
string
= null
messages
messages
:
ChannelMessageManager
= ...
name
name
:
string
= ''
nsfw
nsfw
:
boolean
= false
parent
Id
parent
Id
:
null
|
string
= null
position
position
:
number
= 0
type
type
:
ChannelType
= ChannelType.GuildCategory
Accessors
children
get
children
(
)
:
GuildChannels
[]
Returns
GuildChannels
[]
create
Message
get
createMessage
(
)
:
(
data
:
string
|
MessagePayload
|
MessagePayloadData
, cache
?:
boolean
)
=>
Promise
<
Message
<
TextChannel
>
>
Returns
(
data
:
string
|
MessagePayload
|
MessagePayloadData
, cache
?:
boolean
)
=>
Promise
<
Message
<
TextChannel
>
>
(
data
:
string
|
MessagePayload
|
MessagePayloadData
, cache
?:
boolean
)
:
Promise
<
Message
<
TextChannel
>
>
Parameters
data:
string
|
MessagePayload
|
MessagePayloadData
cache:
boolean
= false
Returns
Promise
<
Message
<
TextChannel
>
>
created
At
get
createdAt
(
)
:
Date
Returns
Date
created
Timestamp
get
createdTimestamp
(
)
:
number
Returns
number
delete
get
delete
(
)
:
(
...
args
:
[
reason
?:
string
]
)
=>
Promise
<
void
>
Returns
(
...
args
:
[
reason
?:
string
]
)
=>
Promise
<
void
>
(
...
args
:
[
reason
?:
string
]
)
:
Promise
<
void
>
Parameters
Rest
...
args:
[
reason
?:
string
]
Returns
Promise
<
void
>
guild
get
guild
(
)
:
null
|
Guild
Returns
null
|
Guild
parent
get
parent
(
)
:
undefined
|
GuildChannels
Returns
undefined
|
GuildChannels
Methods
_deserialise
_deserialise
(
data
:
any
)
:
BaseTextChannelInGuild
Parameters
data:
any
Returns
BaseTextChannelInGuild
_set_
guild
_set_
guild
(
id
:
string
)
:
BaseTextChannelInGuild
Parameters
id:
string
Returns
BaseTextChannelInGuild
fetch
fetch
(
)
:
Promise
<
BaseTextChannelInGuild
>
Returns
Promise
<
BaseTextChannelInGuild
>
set
Name
set
Name
(
name
:
string
)
:
Promise
<
BaseTextChannelInGuild
>
Parameters
name:
string
Returns
Promise
<
BaseTextChannelInGuild
>
set
Nsfw
set
Nsfw
(
nsfw
:
boolean
)
:
Promise
<
BaseTextChannelInGuild
>
Parameters
nsfw:
boolean
Returns
Promise
<
BaseTextChannelInGuild
>
set
Parent
set
Parent
(
parent
:
string
|
GuildChannels
)
:
void
Parameters
parent:
string
|
GuildChannels
Returns
void
set
Position
set
Position
(
position
:
number
)
:
Promise
<
BaseTextChannelInGuild
>
Parameters
position:
number
Returns
Promise
<
BaseTextChannelInGuild
>
toJSON
toJSON
(
)
:
APIGuildChannel
<
GuildChannelType
>
Returns
APIGuildChannel
<
GuildChannelType
>
Static
create
create
(
client
:
Client
, data
:
APIChannelBase
<
ChannelType
>
&
{
guild_id
?:
string
}
)
:
Channels
<
DMChannel
|
GuildChannels
|
Channel
<
APIChannel
>
,
APIChannel
>
Parameters
client:
Client
data:
APIChannelBase
<
ChannelType
>
&
{
guild_id
?:
string
}
Returns
Channels
<
DMChannel
|
GuildChannels
|
Channel
<
APIChannel
>
,
APIChannel
>
Static
resolve
resolve
(
client
:
Client
, data
:
APIGuildChannel
<
GuildChannelType
>
, guild
:
Guild
)
:
GuildChannels
Creates a type-strong version of the channel, based on its type.
Parameters
client:
Client
data:
APIGuildChannel
<
GuildChannelType
>
guild:
Guild
Returns
GuildChannels
Static
toJSON
toJSON
(
data
:
any
)
:
any
Parameters
data:
any
Returns
any
Exports
Internals
Tokens
Externals
Types
Base
Text
Channel
In
Guild
constructor
client
guild
Id
id
last
Message
Id
messages
name
nsfw
parent
Id
position
type
children
create
Message
created
At
created
Timestamp
delete
guild
parent
_deserialise
_set_
guild
fetch
set
Name
set
Nsfw
set
Parent
set
Position
toJSON
create
resolve
toJSON
Generated using
TypeDoc
Creates a type-strong version of the channel, based on its type.