DiscordThread
Defined in: bot/bot.type.ts:314
A thread, which in a forum channel is a post.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”applied_tags?
Section titled “applied_tags?”
optionalapplied_tags?:string[]
Defined in: bot/bot.type.ts:320
Ids of the forum tags applied to the post.
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.
Inherited from
Section titled “Inherited from”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).
Inherited from
Section titled “Inherited from”DiscordChannel.default_auto_archive_duration
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.
Inherited from
Section titled “Inherited from”DiscordChannel.default_reaction_emoji
id:
string
Defined in: bot/bot.type.ts:238
The channel id.
Inherited from
Section titled “Inherited from”name:
string
Defined in: bot/bot.type.ts:240
The channel name.
Inherited from
Section titled “Inherited from”owner_id?
Section titled “owner_id?”
optionalowner_id?:string
Defined in: bot/bot.type.ts:318
Id of the user who made the thread.
parent_id
Section titled “parent_id”parent_id:
string
Defined in: bot/bot.type.ts:316
Id of the forum or text channel the thread belongs to.
Overrides
Section titled “Overrides”permission_overwrites?
Section titled “permission_overwrites?”
optionalpermission_overwrites?:DiscordPermissionOverwrite[]
Defined in: bot/bot.type.ts:250
Permission overrides set on this channel.
Inherited from
Section titled “Inherited from”DiscordChannel.permission_overwrites
position?
Section titled “position?”
optionalposition?:number
Defined in: bot/bot.type.ts:248
The channel’s sort position within its category or the server.
Inherited from
Section titled “Inherited from”thread_metadata
Section titled “thread_metadata”thread_metadata:
DiscordThreadMetadata
Defined in: bot/bot.type.ts:322
The thread’s archive state.
topic?
Section titled “topic?”
optionaltopic?:string|null
Defined in: bot/bot.type.ts:246
The channel topic, or null when unset.
Inherited from
Section titled “Inherited from”type:
number
Defined in: bot/bot.type.ts:242
The channel type; see ChannelType.