DiscordChannel
Defined in: bot/bot.type.ts:236
A channel or category in a server, as Discord returns it.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”available_tags?
Section titled “available_tags?”
optionalavailable_tags?:DiscordForumTag[]
Defined in: bot/bot.type.ts:252
The tags a post in this forum channel can carry; present on forum channels only.
default_auto_archive_duration?
Section titled “default_auto_archive_duration?”
optionaldefault_auto_archive_duration?:number
Defined in: bot/bot.type.ts:256
Minutes a thread of this channel can sit idle before it is archived by default (60, 1440, 4320 or 10080).
default_reaction_emoji?
Section titled “default_reaction_emoji?”
optionaldefault_reaction_emoji?:DiscordDefaultReaction|null
Defined in: bot/bot.type.ts:254
The emoji offered as the first reaction on every post of a forum channel, or null when unset.
id:
string
Defined in: bot/bot.type.ts:238
The channel id.
name:
string
Defined in: bot/bot.type.ts:240
The channel name.
parent_id?
Section titled “parent_id?”
optionalparent_id?:string|null
Defined in: bot/bot.type.ts:244
Id of the category the channel sits in, or null for none.
permission_overwrites?
Section titled “permission_overwrites?”
optionalpermission_overwrites?:DiscordPermissionOverwrite[]
Defined in: bot/bot.type.ts:250
Permission overrides set on this channel.
position?
Section titled “position?”
optionalposition?:number
Defined in: bot/bot.type.ts:248
The channel’s sort position within its category or the server.
topic?
Section titled “topic?”
optionaltopic?:string|null
Defined in: bot/bot.type.ts:246
The channel topic, or null when unset.
type:
number
Defined in: bot/bot.type.ts:242
The channel type; see ChannelType.