From 897fd90bf2705d6ff5eebbb21fa8e735fc1e1e22 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Tue, 25 Jun 2024 23:59:23 +0200 Subject: [PATCH] feat(APIAttachment): add `title` (#1015) --- deno/payloads/v10/channel.ts | 4 ++++ deno/payloads/v9/channel.ts | 4 ++++ payloads/v10/channel.ts | 4 ++++ payloads/v9/channel.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/payloads/v10/channel.ts b/deno/payloads/v10/channel.ts index 2abad8e0b..b569bb121 100644 --- a/deno/payloads/v10/channel.ts +++ b/deno/payloads/v10/channel.ts @@ -1404,6 +1404,10 @@ export interface APIAttachment { * Name of file attached */ filename: string; + /** + * The title of the file + */ + title?: string; /** * Description for the file */ diff --git a/deno/payloads/v9/channel.ts b/deno/payloads/v9/channel.ts index 3d9014b1b..e9a19c725 100644 --- a/deno/payloads/v9/channel.ts +++ b/deno/payloads/v9/channel.ts @@ -1371,6 +1371,10 @@ export interface APIAttachment { * Name of file attached */ filename: string; + /** + * The title of the file + */ + title?: string; /** * Description for the file */ diff --git a/payloads/v10/channel.ts b/payloads/v10/channel.ts index d01cacb1c..fddb1acf4 100644 --- a/payloads/v10/channel.ts +++ b/payloads/v10/channel.ts @@ -1404,6 +1404,10 @@ export interface APIAttachment { * Name of file attached */ filename: string; + /** + * The title of the file + */ + title?: string; /** * Description for the file */ diff --git a/payloads/v9/channel.ts b/payloads/v9/channel.ts index 9a0ceb5c7..e72b82568 100644 --- a/payloads/v9/channel.ts +++ b/payloads/v9/channel.ts @@ -1371,6 +1371,10 @@ export interface APIAttachment { * Name of file attached */ filename: string; + /** + * The title of the file + */ + title?: string; /** * Description for the file */