Creates a new ChannelPayload
instance.
Optional
data: { Optional initial data to set in the payload.
Optional
available_Optional
bitrate?: numberOptional
default_Optional
default_Optional
default_Optional
default_Optional
default_Optional
name?: stringOptional
nsfw?: booleanOptional
parent_Optional
permission_Optional
position?: numberOptional
rate_Optional
rtc_Optional
topic?: stringOptional
type?: numberOptional
user_Optional
video_Gets the available tags for the channel.
An array of tags.
Sets the available tags for the channel.
An array of tags.
Gets the bitrate of the voice channel.
The bitrate value.
Sets the bitrate of the voice channel.
The bitrate value.
Gets the default auto-archive duration for threads in the channel.
The default auto-archive duration in minutes.
Sets the default auto-archive duration for threads in the channel.
The auto-archive duration in minutes.
Gets the default forum layout for the channel.
The default forum layout.
Sets the default forum layout for the channel.
The default forum layout.
Gets the default reaction emoji for messages in the channel.
The default reaction emoji object.
Sets the default reaction emoji for messages in the channel.
The default reaction emoji object.
Gets the default sort order for forum posts.
The default sort order.
Sets the default sort order for forum posts.
The default sort order.
Gets the default rate limit for threads in the channel.
The rate limit in seconds.
Sets the default rate limit for threads in the channel.
The rate limit in seconds.
Gets the name of the channel.
The channel name.
Sets the name of the channel.
The name of the channel. Must be between 1 and 100 characters.
Gets the NSFW status of the channel.
True if the channel is NSFW.
Sets the NSFW status of the channel.
True if the channel should be marked NSFW.
Gets the parent ID of the channel (for categories).
The parent channel ID.
Sets the parent ID of the channel (for categories).
The parent channel ID.
Gets the permission overwrites for the channel.
An array of permission overwrites.
Sets the permission overwrites for the channel.
An array of permission overwrites.
Gets the position of the channel.
The channel position.
Sets the position of the channel.
The channel position.
Gets the rate limit per user for a text channel.
The rate limit in seconds.
Sets the rate limit per user for a text channel.
The rate limit in seconds (0 to 21600).
Gets the RTC region for a voice channel.
The RTC region value.
Sets the RTC region for a voice channel.
The RTC region value.
Gets the topic of the channel.
The channel topic.
Sets the topic of the channel.
The topic of the channel. Must be up to 1024 characters.
Gets the type of the channel.
The channel type.
Sets the type of the channel.
The type of the channel.
Gets the user limit for a voice channel.
The user limit value.
Sets the user limit for a voice channel.
The user limit.
Gets the video quality mode for a voice channel.
The video quality mode.
Sets the video quality mode for a voice channel.
The video quality mode.
Represents the payload for creating or updating a Discord channel. This class encapsulates all the parameters needed to create or update a channel in Discord.