Skip to content

Commit dfd3b97

Browse files
CopilotJiralite
andcommitted
docs(APIAttachment): correct title field description
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
1 parent 044c607 commit dfd3b97

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

payloads/v10/message.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,10 +810,10 @@ export interface APIAttachment {
810810
*/
811811
filename: string;
812812
/**
813-
* A sanitized version of the filename that does not contain certain special characters
813+
* The original filename of the upload with special characters preserved
814814
*
815-
* This will be present when the filename contains special characters (e.g. Cyrillic)
816-
* and can be used for display purposes
815+
* This will be present when the filename contains special characters (e.g. Cyrillic),
816+
* in which case the `filename` field will be a sanitized version without those characters
817817
*/
818818
title?: string;
819819
/**

payloads/v9/message.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -805,10 +805,10 @@ export interface APIAttachment {
805805
*/
806806
filename: string;
807807
/**
808-
* A sanitized version of the filename that does not contain certain special characters
808+
* The original filename of the upload with special characters preserved
809809
*
810-
* This will be present when the filename contains special characters (e.g. Cyrillic)
811-
* and can be used for display purposes
810+
* This will be present when the filename contains special characters (e.g. Cyrillic),
811+
* in which case the `filename` field will be a sanitized version without those characters
812812
*/
813813
title?: string;
814814
/**

0 commit comments

Comments
 (0)