From a4cdbbfdf87f32e6108140260f163afeca3e0788 Mon Sep 17 00:00:00 2001 From: Suneet Tipirneni <77477100+suneettipirneni@users.noreply.github.com> Date: Mon, 25 Sep 2023 07:23:01 -0400 Subject: [PATCH] fix(RESTPatchAPIChannelJSONBody): add missing `applied_tags` field (#828) --- deno/rest/v10/channel.ts | 6 ++++++ deno/rest/v9/channel.ts | 6 ++++++ rest/v10/channel.ts | 6 ++++++ rest/v9/channel.ts | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/deno/rest/v10/channel.ts b/deno/rest/v10/channel.ts index 75beeccc..29c54143 100644 --- a/deno/rest/v10/channel.ts +++ b/deno/rest/v10/channel.ts @@ -181,6 +181,12 @@ export interface RESTPatchAPIChannelJSONBody { * Channel types: forum */ default_forum_layout?: ForumLayoutType | undefined; + /** + * The ids of the set of tags that have been applied to a thread-only channel; limited to 5 + * + * Channel types: forum, media + */ + applied_tags?: Snowflake[] | undefined; } /** diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index cdfb9d83..a5e1a828 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -181,6 +181,12 @@ export interface RESTPatchAPIChannelJSONBody { * Channel types: forum */ default_forum_layout?: ForumLayoutType | undefined; + /** + * The ids of the set of tags that have been applied to a thread-only channel; limited to 5 + * + * Channel types: forum, media + */ + applied_tags?: Snowflake[] | undefined; } /** diff --git a/rest/v10/channel.ts b/rest/v10/channel.ts index b994294a..33e94d3f 100644 --- a/rest/v10/channel.ts +++ b/rest/v10/channel.ts @@ -181,6 +181,12 @@ export interface RESTPatchAPIChannelJSONBody { * Channel types: forum */ default_forum_layout?: ForumLayoutType | undefined; + /** + * The ids of the set of tags that have been applied to a thread-only channel; limited to 5 + * + * Channel types: forum, media + */ + applied_tags?: Snowflake[] | undefined; } /** diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index ec583a0f..ed437bba 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -181,6 +181,12 @@ export interface RESTPatchAPIChannelJSONBody { * Channel types: forum */ default_forum_layout?: ForumLayoutType | undefined; + /** + * The ids of the set of tags that have been applied to a thread-only channel; limited to 5 + * + * Channel types: forum, media + */ + applied_tags?: Snowflake[] | undefined; } /**