Skip to main content

CreateForumPostWithMessage

@discordeno/botDocs


Documentation / @discordeno/bot / CreateForumPostWithMessage

Interface: CreateForumPostWithMessage

Properties

appliedTags?

optional appliedTags: BigString[]

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

Defined in

packages/types/dist/types/discordeno.d.ts:883


autoArchiveDuration

autoArchiveDuration: 60 | 1440 | 4320 | 10080

Duration in minutes to automatically archive the thread after recent activity

Defined in

packages/types/dist/types/discordeno.d.ts:864


files?

optional files: FileContent[]

The contents of the files being sent

Defined in

packages/types/dist/types/discordeno.d.ts:885


message

message: object

contents of the first message in the forum/media thread

allowedMentions?

optional allowedMentions: AllowedMentions

Allowed mentions for the message

components?

optional components: MessageComponents

The components you would like to have sent in this message

content?

optional content: string

The message contents (up to 2000 characters)

embeds?

optional embeds: object[]

Embedded rich content (up to 6000 characters)

flags?

optional flags: MessageFlags

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

stickerIds?

optional stickerIds: BigString[]

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

Defined in

packages/types/dist/types/discordeno.d.ts:868


name

name: string

1-100 character thread name

Defined in

packages/types/dist/types/discordeno.d.ts:862


rateLimitPerUser?

optional rateLimitPerUser: null | number

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

Defined in

packages/types/dist/types/discordeno.d.ts:866