Represents a forum channel.
Extends
ThreadOnlyChannelThe set of tags that can be used in this channel.
Inherited from ThreadOnlyChannelThe default auto archive duration for newly created threads in this channel.
Inherited from ThreadOnlyChannelThe emoji to show in the add reaction button on a thread in a guild forum channel
Inherited from ThreadOnlyChannelThe default sort order mode used to order posts
Inherited from ThreadOnlyChannelThe initial rate limit per user (slowmode) to set on newly created threads in a channel.
Inherited from ThreadOnlyChannelIf this channel is considered NSFW.
Inherited from ThreadOnlyChannelThe rate limit per user (slowmode) for this channel.
Inherited from ThreadOnlyChannelA manager of the threads belonging to this channel
Inherited from ThreadOnlyChannelThe topic of this channel.
Inherited from ThreadOnlyChannelThe type of the channel
Creates an invite to this guild channel.
Name | Type | Optional | Description |
---|---|---|---|
options | InviteCreateOptions | Yes | The options for creating the invite |
Fetches a collection of invites to this guild channel. Resolves with a collection mapping invites by their codes.
Name | Type | Optional | Description |
---|---|---|---|
cache | boolean | Yes | Whether to cache the fetched invites |
Sets the available tags for this forum channel
Name | Type | Optional | Description |
---|---|---|---|
availableTags | GuildForumTagData[] | No | The tags to set as available in this channel |
reason | string | Yes | Reason for changing the available tags |
Sets the default auto archive duration for all newly created threads in this channel.
Name | Type | Optional | Description |
---|---|---|---|
defaultAutoArchiveDuration | ThreadAutoArchiveDuration | No | The new default auto archive duration |
reason | string | Yes | Reason for changing the channel's default auto archive duration |
Sets the default forum layout type used to display posts
Name | Type | Optional | Description |
---|---|---|---|
defaultForumLayout | ForumLayoutType | No | The default forum layout type to set on this channel |
reason | string | Yes | Reason for changing the default forum layout |
Sets the default reaction emoji for this channel
Name | Type | Optional | Description |
---|---|---|---|
defaultReactionEmoji | DefaultReactionEmoji | null | No | The emoji to set as the default reaction emoji |
reason | string | Yes | Reason for changing the default reaction emoji |
Sets the default sort order mode used to order posts
Name | Type | Optional | Description |
---|---|---|---|
defaultSortOrder | SortOrderType | null | No | The default sort order mode to set on this channel |
reason | string | Yes | Reason for changing the default sort order |
Sets the default rate limit per user (slowmode) for new threads in this channel
Name | Type | Optional | Description |
---|---|---|---|
defaultThreadRateLimitPerUser | number | No | The rate limit to set on newly created threads in this channel |
reason | string | Yes | Reason for changing the default rate limit |
Sets a new topic for the guild channel.
Name | Type | Optional | Description |
---|---|---|---|
topic | string | null | No | The new topic for the guild channel |
reason | string | Yes | Reason for changing the guild channel's topic |