From b4226bb708763ebe04d9f7abcafa148bb5588ba4 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Tue, 5 Dec 2023 18:28:52 +0100 Subject: [PATCH] feat(RESTPostAPIWebhookWithTokenJSONBody): add `applied_tags` (#855) --- deno/rest/v10/webhook.ts | 4 ++++ deno/rest/v9/webhook.ts | 4 ++++ rest/v10/webhook.ts | 4 ++++ rest/v9/webhook.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/rest/v10/webhook.ts b/deno/rest/v10/webhook.ts index f07e6d18..c1bc9904 100644 --- a/deno/rest/v10/webhook.ts +++ b/deno/rest/v10/webhook.ts @@ -150,6 +150,10 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { * Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter */ thread_name?: string | undefined; + /** + * Array of tag ids to apply to the thread + */ + applied_tags?: Snowflake[] | undefined; } /** diff --git a/deno/rest/v9/webhook.ts b/deno/rest/v9/webhook.ts index 50fd075a..649e9ad3 100644 --- a/deno/rest/v9/webhook.ts +++ b/deno/rest/v9/webhook.ts @@ -150,6 +150,10 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { * Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter */ thread_name?: string | undefined; + /** + * Array of tag ids to apply to the thread + */ + applied_tags?: Snowflake[] | undefined; } /** diff --git a/rest/v10/webhook.ts b/rest/v10/webhook.ts index bf4dc6c0..63220a05 100644 --- a/rest/v10/webhook.ts +++ b/rest/v10/webhook.ts @@ -150,6 +150,10 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { * Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter */ thread_name?: string | undefined; + /** + * Array of tag ids to apply to the thread + */ + applied_tags?: Snowflake[] | undefined; } /** diff --git a/rest/v9/webhook.ts b/rest/v9/webhook.ts index 135c486b..6bb6c96f 100644 --- a/rest/v9/webhook.ts +++ b/rest/v9/webhook.ts @@ -150,6 +150,10 @@ export interface RESTPostAPIWebhookWithTokenJSONBody { * Available only if the webhook is in a forum channel and a thread is not specified in {@link RESTPostAPIWebhookWithTokenQuery.thread_id} query parameter */ thread_name?: string | undefined; + /** + * Array of tag ids to apply to the thread + */ + applied_tags?: Snowflake[] | undefined; } /**