Search
Preparing search index...
The search index is not available
yuuko
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
yuuko
Eris
ThreadChannel
Class ThreadChannel
Hierarchy
GuildChannel
ThreadChannel
NewsThreadChannel
PrivateThreadChannel
PublicThreadChannel
Implements
ThreadTextable
Index
Constructors
constructor
Properties
client
created
At
guild
id
last
MessageID
last
Pin
Timestamp
member
member
Count
members
mention
message
Count
messages
name
nsfw
ownerID
parentID
permission
Overwrites
position
rate
Limit
Per
User
thread
Metadata
type
Methods
add
Message
Reaction
create
Message
delete
delete
Message
delete
Messages
delete
Permission
edit
edit
Message
edit
Permission
edit
Position
get
Invites
get
Members
get
Message
get
Message
Reaction
get
Messages
get
Pins
inspect
join
leave
permissions
Of
pin
Message
purge
remove
Message
Reaction
remove
Message
Reaction
Emoji
remove
Message
Reactions
send
Typing
toJSON
to
String
unpin
Message
unsend
Message
from
get
Created
At
get
Discord
Epoch
Constructors
constructor
new
Thread
Channel
(
data
:
BaseData
, client
:
Client
, messageLimit
?:
number
)
:
ThreadChannel
Parameters
data:
BaseData
client:
Client
Optional
messageLimit:
number
Returns
ThreadChannel
Properties
client
client
:
Client
created
At
created
At
:
number
guild
guild
:
Guild
id
id
:
string
last
MessageID
last
MessageID
:
string
Optional
last
Pin
Timestamp
last
Pin
Timestamp
:
number
Optional
member
member
:
ThreadMember
member
Count
member
Count
:
number
members
members
:
Collection
<
ThreadMember
>
mention
mention
:
string
message
Count
message
Count
:
number
messages
messages
:
Collection
<
Message
<
ThreadChannel
>
>
name
name
:
string
nsfw
nsfw
:
boolean
ownerID
ownerID
:
string
parentID
parentID
:
null
|
string
permission
Overwrites
permission
Overwrites
:
Collection
<
PermissionOverwrite
>
position
position
:
number
rate
Limit
Per
User
rate
Limit
Per
User
:
number
thread
Metadata
thread
Metadata
:
ThreadMetadata
type
type
:
GuildThreadChannelTypes
Methods
add
Message
Reaction
add
Message
Reaction
(
messageID
:
string
, reaction
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
reaction:
string
Returns
Promise
<
void
>
create
Message
create
Message
(
content
:
MessageContent
, file
?:
FileContent
|
FileContent
[]
)
:
Promise
<
Message
<
ThreadChannel
>
>
Parameters
content:
MessageContent
Optional
file:
FileContent
|
FileContent
[]
Returns
Promise
<
Message
<
ThreadChannel
>
>
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
:
Pick
<
EditChannelOptions
,
"name"
|
"rateLimitPerUser"
|
"archived"
|
"autoArchiveDuration"
|
"invitable"
|
"locked"
>
, reason
?:
string
)
:
Promise
<
ThreadChannel
>
Parameters
options:
Pick
<
EditChannelOptions
,
"name"
|
"rateLimitPerUser"
|
"archived"
|
"autoArchiveDuration"
|
"invitable"
|
"locked"
>
Optional
reason:
string
Returns
Promise
<
ThreadChannel
>
edit
Message
edit
Message
(
messageID
:
string
, content
:
MessageContentEdit
)
:
Promise
<
Message
<
ThreadChannel
>
>
Parameters
messageID:
string
content:
MessageContentEdit
Returns
Promise
<
Message
<
ThreadChannel
>
>
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"
,
InviteChannel
>
[]
>
Returns
Promise
<
Invite
<
"withMetadata"
,
InviteChannel
>
[]
>
get
Members
get
Members
(
)
:
Promise
<
ThreadMember
[]
>
Returns
Promise
<
ThreadMember
[]
>
get
Message
get
Message
(
messageID
:
string
)
:
Promise
<
Message
<
ThreadChannel
>
>
Parameters
messageID:
string
Returns
Promise
<
Message
<
ThreadChannel
>
>
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
<
ThreadChannel
>
[]
>
get
Messages
(
limit
?:
number
, before
?:
string
, after
?:
string
, around
?:
string
)
:
Promise
<
Message
<
ThreadChannel
>
[]
>
Parameters
Optional
options:
GetMessagesOptions
Returns
Promise
<
Message
<
ThreadChannel
>
[]
>
deprecated
Parameters
Optional
limit:
number
Optional
before:
string
Optional
after:
string
Optional
around:
string
Returns
Promise
<
Message
<
ThreadChannel
>
[]
>
get
Pins
get
Pins
(
)
:
Promise
<
Message
<
ThreadChannel
>
[]
>
Returns
Promise
<
Message
<
ThreadChannel
>
[]
>
inspect
inspect
(
)
:
ThreadChannel
Returns
ThreadChannel
join
join
(
userID
?:
string
)
:
Promise
<
void
>
Parameters
Optional
userID:
string
Returns
Promise
<
void
>
leave
leave
(
userID
?:
string
)
:
Promise
<
void
>
Parameters
Optional
userID:
string
Returns
Promise
<
void
>
permissions
Of
permissions
Of
(
memberID
:
string
|
Member
|
MemberRoles
)
:
Permission
Parameters
memberID:
string
|
Member
|
MemberRoles
Returns
Permission
pin
Message
pin
Message
(
messageID
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
Returns
Promise
<
void
>
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
unpin
Message
unpin
Message
(
messageID
:
string
)
:
Promise
<
void
>
Parameters
messageID:
string
Returns
Promise
<
void
>
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
Thread
Channel
constructor
client
created
At
guild
id
last
MessageID
last
Pin
Timestamp
member
member
Count
members
mention
message
Count
messages
name
nsfw
ownerID
parentID
permission
Overwrites
position
rate
Limit
Per
User
thread
Metadata
type
add
Message
Reaction
create
Message
delete
delete
Message
delete
Messages
delete
Permission
edit
edit
Message
edit
Permission
edit
Position
get
Invites
get
Members
get
Message
get
Message
Reaction
get
Messages
get
Pins
inspect
join
leave
permissions
Of
pin
Message
purge
remove
Message
Reaction
remove
Message
Reaction
Emoji
remove
Message
Reactions
send
Typing
toJSON
to
String
unpin
Message
unsend
Message
from
get
Created
At
get
Discord
Epoch
Generated using
TypeDoc