mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-02 00:40:08 +00:00
docs(APIAttachment): clarify title field distinction from filename (#1450)
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> Co-authored-by: almeidx <42935195+almeidx@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
5
deno/payloads/v10/message.ts
generated
5
deno/payloads/v10/message.ts
generated
@@ -810,7 +810,10 @@ export interface APIAttachment {
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The title of the file
|
||||
* The original filename of the upload with special characters preserved
|
||||
*
|
||||
* This will be present when the filename contains special characters (e.g. Cyrillic),
|
||||
* in which case the `filename` field will be a sanitized version without those characters
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
|
||||
5
deno/payloads/v9/message.ts
generated
5
deno/payloads/v9/message.ts
generated
@@ -805,7 +805,10 @@ export interface APIAttachment {
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The title of the file
|
||||
* The original filename of the upload with special characters preserved
|
||||
*
|
||||
* This will be present when the filename contains special characters (e.g. Cyrillic),
|
||||
* in which case the `filename` field will be a sanitized version without those characters
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
|
||||
@@ -810,7 +810,10 @@ export interface APIAttachment {
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The title of the file
|
||||
* The original filename of the upload with special characters preserved
|
||||
*
|
||||
* This will be present when the filename contains special characters (e.g. Cyrillic),
|
||||
* in which case the `filename` field will be a sanitized version without those characters
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
|
||||
@@ -805,7 +805,10 @@ export interface APIAttachment {
|
||||
*/
|
||||
filename: string;
|
||||
/**
|
||||
* The title of the file
|
||||
* The original filename of the upload with special characters preserved
|
||||
*
|
||||
* This will be present when the filename contains special characters (e.g. Cyrillic),
|
||||
* in which case the `filename` field will be a sanitized version without those characters
|
||||
*/
|
||||
title?: string;
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user