The id of the group to add the user to.
Create a direct message.
The id of the recipient of the direct message.
Create a group dm.
Create an invite for a channel.
The id of the channel to create an invite for.
Create a message in a channel.
The id of the channel to create the message in.
Add a reaction to a message.
The id of the channel the message is in.
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.
Crosspost a message in an announcement channel.
The id of the channel to crosspost the message in.
The id of the message to crosspost.
Delete an invite.
The code of the invite to delete.
Optional
reason: stringThe reason for deleting the invite.
Delete a message.
The id of the channel to delete the message in.
The id of the message to delete.
Optional
reason: stringThe reason for deleting the message.
Bulk delete messages.
The id of the channel to delete the messages in.
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.
Delete a permission overwrite.
The id of the channel to delete the permission overwrite in.
The id of the permission overwrite to delete.
Optional
reason: stringThe reason for deleting the permission overwrite.
Remove a reaction from a message.
The id of the channel the message is in.
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 channel the message is in.
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 a channel.
The id of the channel to edit.
Edit a message.
The id of the channel the message is in.
The id of the message to edit.
Edit a permission overwrite.
The id of the channel to edit the permission overwrite for.
The id of the permission overwrite to edit.
Follow an announcement channel.
The id of the channel to follow the announcement channel to.
Optional
options: FollowAnnouncementChannelOptionsGet a channel.
The id of the channel to get.
Get an invite.
The code of the invite to get.
Optional
options: GetInviteWithNoneOptionsGet the invites of a channel.
The id of the channel to get the invites of.
Get the private archived threads the current user has joined in a channel.
The id of the channel to get the archived threads from.
Optional
options: GetArchivedThreadsOptionsGet a message in a channel.
The id of the channel the message is in
The id of the message to get.
Get messages in a channel.
The id of the channel to get messages from.
Optional
options: GetChannelMessagesOptionsAll options are mutually exclusive.
Get the pinned messages in a channel.
The id of the channel to get the pinned messages from.
Get the private archived threads in a channel.
The id of the channel to get the archived threads from.
Optional
options: GetArchivedThreadsOptionsGet the public archived threads in a channel.
The id of the channel to get the archived threads from.
Optional
options: GetArchivedThreadsOptionsGet the users who reacted with a specific emoji on a message.
The id of the channel the message is in.
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.
Get a thread member.
The id of the thread.
The id of the user to get the thread member of.
Get the members of a thread.
The id of the thread.
Get the list of usable voice regions.
Pin a message in a channel.
The id of the channel to pin the message in.
The id of the message to pin.
Optional
reason: stringThe reason for pinning the message.
Create a thread from an existing message.
The id of the channel to create the thread in.
The id of the message to create the thread from.
Create a thread in a forum channel.
Create a thread without an existing message.
Unpin a message in a channel.
The id of the channel to unpin the message in.
The id of the message to unpin.
Optional
reason: stringThe reason for unpinning the message.
Add a user to a group channel.
Returns