Skip to main content
Deno 2 is finally here 🎉️
Learn more
Extremely Popular
Go to Latest
interface CreateForumPostWithMessage
implements WithReason
import { type CreateForumPostWithMessage } from "https://deno.land/x/discordeno@17.2.0/plugins/validations/deps.ts";

Properties

name: string

1-100 character thread name

autoArchiveDuration:
| 60
| 1440
| 4320
| 10080

Duration in minutes to automatically archive the thread after recent activity

optional
rateLimitPerUser: number | null

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

optional
content: string

The message contents (up to 2000 characters)

optional
embeds: Embed[]

Embedded rich content (up to 6000 characters)

optional
allowedMentions: AllowedMentions

Allowed mentions for the message

optional
file: FileContent | FileContent[]

The contents of the file being sent

optional
components: MessageComponents

The components you would like to have sent in this message