Skip to content

CreateChannelInput

Defined in: bot/bot.type.ts:384

What POST /guilds/{id}/channels takes.

optional available_tags?: ForumTagInput[]

Defined in: bot/bot.type.ts:396

The tags of a forum channel (ChannelType.Forum).


optional default_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).


optional default_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.


optional parent_id?: string

Defined in: bot/bot.type.ts:392

Id of the category to create the channel in.


optional permission_overwrites?: DiscordPermissionOverwrite[]

Defined in: bot/bot.type.ts:394

Permission overrides to set on the new channel.


optional topic?: string

Defined in: bot/bot.type.ts:390

The channel topic.


optional type?: number

Defined in: bot/bot.type.ts:388

The channel type; see ChannelType. Discord creates a text channel when omitted.