From 661c413af49fcbf67534d2a4c8ae4562b379a85e Mon Sep 17 00:00:00 2001 From: Kshitij Anurag <230598819+kshitijanurag@users.noreply.github.com> Date: Thu, 6 Aug 2026 14:01:56 +0530 Subject: [PATCH] refactor(APIGroupDMChannel): mark `application_id` as nullable (#1755) --- deno/payloads/v10/channel.ts | 4 ++-- deno/payloads/v9/channel.ts | 4 ++-- payloads/v10/channel.ts | 4 ++-- payloads/v9/channel.ts | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index df6c3278..508fd08d 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -215,9 +215,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase */ name: string | null; /** - * Application id of the group DM creator if it is bot-created + * Application id associated with the channel. For group DMs, this is the application that created the group */ - application_id?: Snowflake; + application_id?: Snowflake | null; /** * Icon hash */ diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 7036094e..09439d69 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -210,9 +210,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase */ name: string | null; /** - * Application id of the group DM creator if it is bot-created + * Application id associated with the channel. For group DMs, this is the application that created the group */ - application_id?: Snowflake; + application_id?: Snowflake | null; /** * Icon hash */ diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index e077d082..7729767c 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -215,9 +215,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase */ name: string | null; /** - * Application id of the group DM creator if it is bot-created + * Application id associated with the channel. For group DMs, this is the application that created the group */ - application_id?: Snowflake; + application_id?: Snowflake | null; /** * Icon hash */ diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index 242f3fbd..44517337 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -210,9 +210,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase */ name: string | null; /** - * Application id of the group DM creator if it is bot-created + * Application id associated with the channel. For group DMs, this is the application that created the group */ - application_id?: Snowflake; + application_id?: Snowflake | null; /** * Icon hash */