fix(GatewayThreadCreateDispatchData): newly_created is optional, and true when present (#312)

This commit is contained in:
Suneet Tipirneni
2022-02-02 18:32:31 -05:00
committed by GitHub
parent 7e542152da
commit 87b9b0885a
2 changed files with 2 additions and 2 deletions

View File

@@ -1285,7 +1285,7 @@ export interface GatewayThreadCreateDispatchData extends APIThreadChannel {
/**
* Whether the thread is newly created or not.
*/
newly_created: boolean;
newly_created?: true;
}
/**

View File

@@ -1285,7 +1285,7 @@ export interface GatewayThreadCreateDispatchData extends APIThreadChannel {
/**
* Whether the thread is newly created or not.
*/
newly_created: boolean;
newly_created?: true;
}
/**