Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/discord_api_types/rest/mod.ts>RESTPostAPIChannelMessagesThreadsJSONBody

Up to date Discord API Typings, versioned by the API version
Go to Latest
interface RESTPostAPIChannelMessagesThreadsJSONBody
import { type RESTPostAPIChannelMessagesThreadsJSONBody } from "https://deno.land/x/discord_api_types@0.37.61/rest/mod.ts";

Properties

name: string

1-100 character thread name

optional
auto_archive_duration: ThreadAutoArchiveDuration | undefined

The amount of time in minutes to wait before automatically archiving the thread

optional
rate_limit_per_user: number | undefined

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