Skip to main content
Module

x/denocordts/deps.ts>RESTPostAPIWebhookWithTokenQuery

An Object Oriented Discord API wrapper for Deno.
Latest
interface RESTPostAPIWebhookWithTokenQuery
import { type RESTPostAPIWebhookWithTokenQuery } from "https://deno.land/x/denocordts@1.2.0/deps.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