fix: missing name and size property on APIFileComponent (#1404)

This commit is contained in:
Qjuh
2025-10-21 05:32:03 +02:00
committed by GitHub
parent 9347651bbe
commit 7d6a934f66
4 changed files with 40 additions and 0 deletions

View File

@@ -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;
}
/**

View File

@@ -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;
}
/**

View File

@@ -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;
}
/**

View File

@@ -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;
}
/**