mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-31 16:00:09 +00:00
fix: missing name and size property on APIFileComponent (#1404)
This commit is contained in:
10
deno/payloads/v10/message.ts
generated
10
deno/payloads/v10/message.ts
generated
@@ -1582,6 +1582,16 @@ export interface APIFileComponent extends APIBaseComponent<ComponentType.File> {
|
||||
* @defaultValue `false`
|
||||
*/
|
||||
spoiler?: boolean;
|
||||
|
||||
/**
|
||||
* The name of the file. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* The size of the file in bytes. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
size?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
10
deno/payloads/v9/message.ts
generated
10
deno/payloads/v9/message.ts
generated
@@ -1577,6 +1577,16 @@ export interface APIFileComponent extends APIBaseComponent<ComponentType.File> {
|
||||
* @defaultValue `false`
|
||||
*/
|
||||
spoiler?: boolean;
|
||||
|
||||
/**
|
||||
* The name of the file. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* The size of the file in bytes. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
size?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1582,6 +1582,16 @@ export interface APIFileComponent extends APIBaseComponent<ComponentType.File> {
|
||||
* @defaultValue `false`
|
||||
*/
|
||||
spoiler?: boolean;
|
||||
|
||||
/**
|
||||
* The name of the file. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* The size of the file in bytes. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
size?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -1577,6 +1577,16 @@ export interface APIFileComponent extends APIBaseComponent<ComponentType.File> {
|
||||
* @defaultValue `false`
|
||||
*/
|
||||
spoiler?: boolean;
|
||||
|
||||
/**
|
||||
* The name of the file. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* The size of the file in bytes. This field is ignored and provided by the API as part of the response
|
||||
*/
|
||||
size?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user