Bulk create/update calendar rsvps.
ID of the Calendar channel.
ID of a calendar event.
List of multiple member ids.
Update options.
Bulk delete every reaction from a target.
ID of a channel.
Type of channel.
Target to remove reactions from it.
Optional
filter: { Filter options.
Optional
emoteCreate a new announcement within an announcement channel.
ID of the Announcement channel.
Announcement creation options.
Content
Title
Create a comment inside an announcement.
ID of the Announcement channel.
ID of the announcement to create the comment in.
Comment creation options.
Content Format: long-form markdown
Create a comment inside a calendar event.
The ID of a "Calendar" channel.
The ID of a calendar event.
Comment options, includes content, and more.
Create an event into a "Calendar" channel.
ID of a "Calendar" channel.
Event options.
Optional
createSeries: { (optional) Create a series. (event's repetition)
Optional
endEnds at Format: date-time
Optional
endsOccurrences
Optional
every?: { Count
Interval
Optional
on?: PathsChannelsChannelIdEventsPostRequestBodyApplicationJsonRepeatInfoOn[]Repeat Type
Create a doc in a "Docs" channel.
ID pf a "Docs" channel.
Doc's options.
Create a comment in a doc.
ID of the docs channel.
ID of the doc.
Create options.
Add a comment to a forum thread.
ID of a "Forums" channel.
ID of a forum thread.
Comment's options.
Create a forum thread in a specified forum channel.
ID of a "Forums" channel.
Thread's options including title & content.
Create a new item in a list channel.
ID of a "Lists" channel.
String content of the new item.
Optional
note: { Add a note to the new item.
Note
Send a message in a specified channel.
ID of the channel.
Message options
Optional
params: MessageConstructorParamsOptional parameters.
Add a new user permission to a channel.
ID of the guild the channel is in
ID of the channel
ID of the user or role to assign the permission to
Create options
Warning: targetID must have the correct type (number=role, string=user).
Add a reaction to a specified object from a channel.
ID of a channel that supports reaction.
Type of the selected channel. (e.g: "ChannelMessage")
ID of the object you'd like to add the reaction to. (e.g: a message ID)
ID of the reaction to add.
Add a reaction to a target from a subcategory (e.g: a comment from Forum Thread)
ID of a channel that supports reaction.
Type of the selected subcategory. (e.g: "CalendarEvent")
ID of the subcategory you selected.
ID of the target you'd like to add the reaction to. (e.g: a comment id)
ID of the reaction to add.
Delete an announcement comment.
ID of an Announcement channel.
ID of the announcement where the comment is in.
ID of the comment to delete.
Delete a channel permission.
ID of the guild where the channel is in
ID of the channel
ID of the target user (string) or role (number)
Warning: targetID must have the correct type (number=role, string=user).
Remove a reaction from a specified message.
ID of a channel that supports reaction.
Type of the selected channel. (e.g: "ChannelMessage")
ID of the target you'd like to add the reaction to. (e.g: a message ID)
ID of the reaction.
Optional
targetUserID: stringID of the user to remove reaction from. (works only on Channel Messages | default: @me)
Remove a reaction from a target from a subcategory (e.g: a comment from Forum Thread)
ID of a channel that supports reaction.
Type of the selected subcategory. (e.g: "CalendarEvent")
ID of the subcategory you selected.
ID of the target you'd like to remove the reaction from. (e.g: a comment id)
ID of the reaction to add.
Edit a channel.
ID of the channel to edit.
Channel edit options.
Edit an existing announcement.
ID of the Announcement channel.
ID of the announcement to edit.
Edit options
Optional
content?: string | Record<string, never>Content
Optional
title?: stringTitle
Edit an announcement comment.
ID of an Announcement channel.
ID of an announcement where the comment is in.
ID of the comment to edit.
Edit options.
Content Format: long-form markdown
Edit an existing calendar event comment.
The ID of a "Calendar" channel.
The ID of an event from the channel.
The ID of the comment to edit.
Edit options.
Edit an event from a "Calendar" channel.
ID of a "Calendar" channel.
ID of a calendar event.
Edit options.
Edit a CalendarEventSeries.
ID of the channel.
ID of the event.
ID of the series.
Edit repetition options.
Add/Edit an RSVP in a calendar event.
ID of a "Calendar" channel.
ID of a calendar event.
ID of a member.
Edit options.
Edit a doc from a "Docs" channel.
ID of a "Docs" channel.
ID of a doc.
Edit options.
Edit a doc comment.
ID of the docs channel.
ID of the doc.
ID of the comment to edit.
Edit options.
Edit a forum thread's comment.
ID of a "Forums" channel.
ID of a forum thread.
ID of a thread comment.
Optional
options: EditForumCommentOptionsEdit options.
Edit a forum thread from a specified forum channel.
ID of a "Forums" channel.
ID of a forum thread.
Edit options.
Edit an item from a list channel.
ID of a "Lists" channel.
ID of a list item.
Optional
options: { Edit options.
Optional
content?: stringOptional
note?: null | { Edit a specific message coming from a specified channel.
The ID of the channel.
The ID of the message you'd like to edit.
object containing new message's options.
Optional
params: MessageConstructorParamsOptional parameters.
Update a channel permission.
ID of the guild the channel is in
ID of the channel
ID of the target user (string) or role (number)
Edit options
Warning: targetID must have the correct type (number=role, string=user).
A JSON object of Enums/Permissions with true
, false
or null values. Permission list can only contain relevant permissions for the channel type
This method is used to get a guild channel.
The ID of the channel to get.
Get a specific announcement from a channel.
ID of an Announcement channel.
ID of the announcement to get.
Get a specific comment from an announcement.
ID of an Announcement channel.
ID of the announcement where the comment is in.
ID of the comment to get.
Get comments from an announcement.
ID of an Announcement channel.
ID of an announcement.
Get a list of announcements from a channel.
ID of an Announcement channel.
Optional
filter: { Filter to apply.
Optional
before?: stringOptional
limit?: numberThis method is used to get a specific calendar event.
Note: this method requires a "Calendar" channel.
ID of a Calendar channel.
ID of a Calendar event.
This method is used to get a specific event comment coming from a calendar. Note: this method doesn't cache scheduled events due to the API's restrictions.
ID of a "Calendar" channel.
ID of an event containing the comment to get.
ID of the comment to get.
This method is used to get a list of CalendarEventComment Note: due to API's restrictions, we're not able to cache scheduled events from this method.
ID of a "Calendar" channel.
ID of the event containing comments.
This method is used to get a list of CalendarEvent
ID of a "Calendar" channel.
Optional
filter: GetCalendarEventsFilterObject to filter the output.
This method is used to get a specific CalendarEventRSVP.
Note: this method requires a Calendar channel.
ID of a Calendar channel
ID of a Calendar Event
ID of a Guild Member
This method is used to get a list of CalendarEventRSVP.
ID of a "Calendar" channel.
ID of a calendar event.
Get a specific comment from a doc.
ID of the channel containing the doc.
ID of the doc the comment is in.
ID of the comment to get.
Get every comment from a doc.
ID of the channel containing the doc.
ID of the doc the comment is in.
This method is used to get a specific forum thread comment.
ID of a "Forums" channel.
ID of a Forum thread.
ID of a Forum thread comment.
This method is used to get a list of ForumThreadComment.
ID of a "Forums" channel.
ID of a Forum Thread.
This method is used to get a specific forum thread.
Note: This method requires a "Forum" channel.
ID of a specific Forum channel.
ID of the specific Forum Thread.
This method is used to get a list of ForumThread.
ID of a "Forum" channel.
Optional
filter: GetForumThreadsFilterObject to filter the output.
This method is used to get a channel message.
The ID of the channel containing the message.
The ID of the message to get.
Optional
params: MessageConstructorParamsOptional parameters.
This method is used to get a list of Message
ID of a "Chat" channel.
Optional
filter: GetChannelMessagesFilterObject to filter the output.
Get the permissions of a user or role for a specified channel.
ID of the guild the channel is in
ID of the channel
ID of the user or role to get the permission
Warning: targetID must have the correct type (number=role, string=user).
Get existing channel permissions for a specified role.
ID of the guild where the channel is in
ID of the channel
Get the permissions of every user in the guild for a specified channel.
ID of the guild where the channel is in
ID of the channel
Archive a channel.