Skip to main content
Module

x/discord_api_types/v9.ts>RESTPostAPIWebhookWithTokenQuery

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

Properties

optional
wait: boolean

Waits for server confirmation of message send before response, and returns the created message body (defaults to false; when false a message that is not saved does not return an error)

optional
thread_id: Snowflake

Send a message to the specified thread within a webhook's channel. The thread will automatically be unarchived.

Available only if the RESTPostAPIWebhookWithTokenJSONBody.thread_name JSON body property is not specified