Skip to main content

DiscordCreateForumPostWithMessage

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordCreateForumPostWithMessage

Interface: DiscordCreateForumPostWithMessage

https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel

Properties

applied_tags?

optional applied_tags: string[]

the IDs of the set of tags that have been applied to a thread in a GUILD_FORUM channel

Defined in

packages/types/dist/types/discord.d.ts:3279


auto_archive_duration?

optional auto_archive_duration: 60 | 1440 | 4320 | 10080

duration in minutes to automatically archive the thread after recent activity, can be set to: 60, 1440, 4320, 10080

Defined in

packages/types/dist/types/discord.d.ts:3256


message

message: object

contents of the first message in the forum thread

allowed_mentions?

optional allowed_mentions: DiscordAllowedMentions[]

Allowed mentions for the message

attachments?

optional attachments: DiscordAttachment[]

Attachment objects with filename and description. See Uploading Files

components?

optional components: DiscordMessageComponents[]

Components to include with the message

content?

optional content: string

Message contents (up to 2000 characters)

embeds?

optional embeds: DiscordEmbed[]

Embedded rich content (up to 6000 characters)

flags?

optional flags: MessageFlags

Message flags combined as a bitfield, only SUPPRESS_EMBEDS can be set

payload_json?

optional payload_json: string

JSON-encoded body of non-file params, only for multipart/form-data requests. See Uploading Files

sticker_ids?

optional sticker_ids: string[]

IDs of up to 3 stickers in the server to send in the message

Defined in

packages/types/dist/types/discord.d.ts:3260


name

name: string

1-100 character channel name

Defined in

packages/types/dist/types/discord.d.ts:3254


rate_limit_per_user?

optional rate_limit_per_user: number

amount of seconds a user has to wait before sending another message (0-21600)

Defined in

packages/types/dist/types/discord.d.ts:3258