diff --git a/deno/payloads/v10/message.ts b/deno/payloads/v10/message.ts index aef0c941..651510e6 100644 --- a/deno/payloads/v10/message.ts +++ b/deno/payloads/v10/message.ts @@ -1582,6 +1582,16 @@ export interface APIFileComponent extends APIBaseComponent { * @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; } /** diff --git a/deno/payloads/v9/message.ts b/deno/payloads/v9/message.ts index ad17cf6e..8bae7895 100644 --- a/deno/payloads/v9/message.ts +++ b/deno/payloads/v9/message.ts @@ -1577,6 +1577,16 @@ export interface APIFileComponent extends APIBaseComponent { * @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; } /** diff --git a/payloads/v10/message.ts b/payloads/v10/message.ts index 77bba110..244bf368 100644 --- a/payloads/v10/message.ts +++ b/payloads/v10/message.ts @@ -1582,6 +1582,16 @@ export interface APIFileComponent extends APIBaseComponent { * @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; } /** diff --git a/payloads/v9/message.ts b/payloads/v9/message.ts index 09885772..957368ce 100644 --- a/payloads/v9/message.ts +++ b/payloads/v9/message.ts @@ -1577,6 +1577,16 @@ export interface APIFileComponent extends APIBaseComponent { * @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; } /**