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 of this channel, if applicable. This will be a text/announcement channel if we're in a thread, category otherwise.
The ID of the parent 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.
The options for creating the message.
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.
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 channel.
The options to edit the channel with.
Edit a message in this thread.
The ID of the message to edit.
The options for editing the message.
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 a message in this thread.
The ID of the message to get.
Get messages in this thread.
Optional
options: GetChannelMessagesOptionsThe options for getting the messages. All options are mutually exclusive.
Get the pinned messages in this thread.
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: GetReactionsOptionsThe options for getting the reactions.
Static
fromStatic
getStatic
get
Represents a guild thread channel.