Modifies channel properties such as name, description, topic, nsfw flag, and slowmode. Requires management permissions in the channel.
Bot token: Authorization: Bot <token>. This is the primary authentication method for bot applications.
The ID of the channel
0 The channel topic (1-1024 characters)
External URL for link channels
ID of the parent category for this channel
Voice channel bitrate in bits per second (8000-320000)
8000 <= x <= 320000Maximum users allowed in voice channel (0-99, 0 means unlimited)
0 <= x <= 99Permission overwrites for roles and members
Whether the channel is marked as NSFW
Slowmode delay in seconds (0-21600)
0 <= x <= 21600Base64-encoded icon image for group DM channels
ID of the new owner for group DM channels
User nickname overrides (user ID to nickname mapping)
Voice region ID for the voice channel (1-64 characters)
The name of the channel
Success
The unique identifier (snowflake) for this channel
The type of the channel
0 <= x <= 2147483647The name of the channel
The topic of the channel
The URL associated with the channel
The icon hash of the channel (for group DMs)
The ID of the owner of the channel (for group DMs)
0 <= x <= 2147483647The ID of the parent category for this channel
The bitrate of the voice channel in bits per second
0 <= x <= 2147483647The maximum number of users allowed in the voice channel
0 <= x <= 2147483647The voice region ID for the voice channel
The ID of the last message sent in this channel
The ISO 8601 timestamp of when the last pinned message was pinned
The permission overwrites for this channel
500The recipients of the DM channel
25Whether the channel is marked as NSFW
0 <= x <= 2147483647Custom nicknames for users in this channel (for group DMs)