mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-03 01:10:09 +00:00
fix(GatewayThreadCreateDispatchData): newly_created is optional, and true when present (#312)
This commit is contained in:
@@ -1285,7 +1285,7 @@ export interface GatewayThreadCreateDispatchData extends APIThreadChannel {
|
||||
/**
|
||||
* Whether the thread is newly created or not.
|
||||
*/
|
||||
newly_created: boolean;
|
||||
newly_created?: true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1285,7 +1285,7 @@ export interface GatewayThreadCreateDispatchData extends APIThreadChannel {
|
||||
/**
|
||||
* Whether the thread is newly created or not.
|
||||
*/
|
||||
newly_created: boolean;
|
||||
newly_created?: true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user