RESTPostAPIWebhookWithTokenQuery

https://discord.com/developers/docs/resources/webhook#execute-webhook-query-string-params

Signature

export interface RESTPostAPIWebhookWithTokenQuery

Properties

3

Methods

0

No methods.

Properties

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)

@defaultfalse
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 {@link RESTPostAPIWebhookWithTokenJSONBody.thread_name} JSON body property is not specified

with_components?: boolean;

Whether to respect the components field of the request. When enabled, allows application-owned webhooks to use all components and non-owned webhooks to use non-interactive components.

@defaultfalse