RESTPatchAPIChannelJSONBody
Index
Properties
optionalbitrate
The bitrate (in bits) of the voice channel; 8000 to 96000 (128000 for VIP servers)
Channel types: voice
optionalname
1-100 character channel name
Channel types: all
optionalnsfw
Whether the channel is nsfw
Channel types: text, news, store
optionalparent_id
ID of the new parent category for a channel
Channel types: text, news, store, voice
optionalpermission_overwrites
Channel or category-specific permissions
Channel types: all
optionalposition
The position of the channel in the left-hand listing
Channel types: all
optionalrate_limit_per_user
Amount of seconds a user has to wait before sending another message (0-21600);
bots, as well as users with the permission MANAGE_MESSAGES
or MANAGE_CHANNELS
,
are unaffected
Channel types: text
optionalrtc_region
Voice region id for the voice or stage channel, automatic when set to null
optionaltopic
0-1024 character channel topic
Channel types: text, news
optionaltype
The type of channel; only conversion between text
and news
is supported and only in guilds with the “NEWS” feature
Channel types: text, news
optionaluser_limit
The user limit of the voice channel; 0 refers to no limit, 1 to 99 refers to a user limit
Channel types: voice
optionalvideo_quality_mode
The camera video quality mode of the voice channel
https://discord.com/developers/docs/resources/channel#modify-channel
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.