The flags for this thread channel.
The guild associated with this channel.
The id of the guild this channel is in.
The last message sent in this channel. This can be a partial object with only an id
property.
The approximate number of members in this thread. Stops counting after 50.
The members of this thread.
The number of messages (not including the initial message or deleted messages) in the thread. Stops counting after 50.
The cached messages in this channel.
The name of this channel.
The creator of this thread.
The parent category of this channel, if applicable.
The ID of the parent category of this channel, if applicable.
The amount of seconds between non-moderators sending messages.
The thread metadata associated with this thread.
The total number of messages ever sent in the thread. Includes deleted messages.
The type of this channel.
A string that will mention this channel.
Create a message in this thread.
Add a reaction to a message in this thread.
The id of the message to add a reaction to.
The reaction to add to the message. name:id
for custom emojis, and the unicode codepoint for default emojis.
Bulk delete messages in this thread.
The ids of the messages to delete. Between 2 and 100 messages, any dupliates or messages older than two weeks will cause an error.
Optional
reason: stringThe reason for deleting the messages.
Remove a reaction from a message in this thread.
The id of the message to remove a reaction from.
The reaction to remove from the message. name:id
for custom emojis, and the unicode codepoint for default emojis.
Optional
user: string = "@me"The user to remove the reaction from, @me
for the current user (default).
Remove all, or a specific emoji's reactions from a message.
The id of the message to remove reactions from.
Optional
emoji: stringThe reaction to remove from the message. name:id
for custom emojis, and the unicode codepoint for default emojis. Omit to remove all reactions.
Edit this thread.
Edit a message in this thread.
The id of the message to edit.
Get a thread member in this thread.
The id of the user to get the thread member of.
Get the members of this thread.
Get messages in this thread.
Optional
options: GetChannelMessagesOptionsAll options are mutually exclusive.
Get the users who reacted with a specific emoji on a message.
The id of the message to get reactions from.
The reaction to remove from the message. name:id
for custom emojis, and the unicode codepoint for default emojis.
Optional
options: GetReactionsOptionsOptions for the request.
Static
fromStatic
getStatic
get
Represents a guild thread channel.