Skip to content

Commit

Permalink
fix(GatewayThreadCreateDispatchData): newly_created is optional, an…
Browse files Browse the repository at this point in the history
…d `true` when present (#312)
  • Loading branch information
suneettipirneni committed Feb 2, 2022
1 parent 7e54215 commit 87b9b08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deno/gateway/v9.ts
Expand Up @@ -1285,7 +1285,7 @@ export interface GatewayThreadCreateDispatchData extends APIThreadChannel {
/**
* Whether the thread is newly created or not.
*/
newly_created: boolean;
newly_created?: true;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion gateway/v9.ts
Expand Up @@ -1285,7 +1285,7 @@ export interface GatewayThreadCreateDispatchData extends APIThreadChannel {
/**
* Whether the thread is newly created or not.
*/
newly_created: boolean;
newly_created?: true;
}

/**
Expand Down

0 comments on commit 87b9b08

Please sign in to comment.