CreateChannelInput
Defined in: bot/bot.type.ts:384
What POST /guilds/{id}/channels takes.
Properties
Section titled “Properties”available_tags?
Section titled “available_tags?”
optionalavailable_tags?:ForumTagInput[]
Defined in: bot/bot.type.ts:396
The tags of a forum channel (ChannelType.Forum).
default_auto_archive_duration?
Section titled “default_auto_archive_duration?”
optionaldefault_auto_archive_duration?:number
Defined in: bot/bot.type.ts:400
The default idle minutes before a thread is archived (60, 1440, 4320 or 10080).
default_reaction_emoji?
Section titled “default_reaction_emoji?”
optionaldefault_reaction_emoji?:DiscordDefaultReaction
Defined in: bot/bot.type.ts:398
The default reaction of a forum channel (ChannelType.Forum).
name:
string
Defined in: bot/bot.type.ts:386
The channel name.
parent_id?
Section titled “parent_id?”
optionalparent_id?:string
Defined in: bot/bot.type.ts:392
Id of the category to create the channel in.
permission_overwrites?
Section titled “permission_overwrites?”
optionalpermission_overwrites?:DiscordPermissionOverwrite[]
Defined in: bot/bot.type.ts:394
Permission overrides to set on the new channel.
topic?
Section titled “topic?”
optionaltopic?:string
Defined in: bot/bot.type.ts:390
The channel topic.
optionaltype?:number
Defined in: bot/bot.type.ts:388
The channel type; see ChannelType. Discord creates a text channel when omitted.