feat: add managed field to ChannelType.GroupDM (#698)

This commit is contained in:
panley01
2023-02-15 19:40:25 +00:00
committed by GitHub
parent 41b31ebfd6
commit 8477deb6a8
4 changed files with 16 additions and 0 deletions

View File

@@ -199,6 +199,10 @@ export interface APIGroupDMChannel extends Omit<APIDMChannelBase<ChannelType.Gro
* The id of the last message sent in this channel (may not point to an existing or valid message)
*/
last_message_id?: Snowflake | null;
/**
* Whether the channel is managed by an OAuth2 application
*/
managed?: boolean;
}
export interface APIThreadChannel

View File

@@ -195,6 +195,10 @@ export interface APIGroupDMChannel extends Omit<APIDMChannelBase<ChannelType.Gro
* ID of the DM creator
*/
owner_id?: Snowflake;
/**
* Whether the channel is managed by an OAuth2 application
*/
managed?: boolean;
}
export interface APIThreadChannel

View File

@@ -199,6 +199,10 @@ export interface APIGroupDMChannel extends Omit<APIDMChannelBase<ChannelType.Gro
* The id of the last message sent in this channel (may not point to an existing or valid message)
*/
last_message_id?: Snowflake | null;
/**
* Whether the channel is managed by an OAuth2 application
*/
managed?: boolean;
}
export interface APIThreadChannel

View File

@@ -195,6 +195,10 @@ export interface APIGroupDMChannel extends Omit<APIDMChannelBase<ChannelType.Gro
* ID of the DM creator
*/
owner_id?: Snowflake;
/**
* Whether the channel is managed by an OAuth2 application
*/
managed?: boolean;
}
export interface APIThreadChannel