refactor(APIGroupDMChannel): mark application_id as nullable (#1755)

This commit is contained in:
Kshitij Anurag
2026-08-06 11:31:56 +03:00
committed by GitHub
parent e25b3a664d
commit 661c413af4
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -215,9 +215,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase<ChannelType.GroupDM>
*/
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
*/
+2 -2
View File
@@ -210,9 +210,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase<ChannelType.GroupDM>
*/
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
*/
+2 -2
View File
@@ -215,9 +215,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase<ChannelType.GroupDM>
*/
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
*/
+2 -2
View File
@@ -210,9 +210,9 @@ export interface APIGroupDMChannel extends APIDMChannelBase<ChannelType.GroupDM>
*/
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
*/