docs(APIFileUploadComponent): link to file types filtering (#1760)

This commit is contained in:
Jiralite
2026-08-06 11:48:55 +03:00
committed by GitHub
parent 661c413af4
commit fdb79d5055
4 changed files with 8 additions and 0 deletions
+2
View File
@@ -1895,6 +1895,8 @@ export interface APIFileUploadComponent extends APIBaseComponent<ComponentType.F
*
* If only dot-prefixed extensions are specified, you must also include `.jpg` for image uploads
* and both `.mp4` and `.mov` for video uploads because of mobile platform limitations.
*
* @see {@link https://docs.discord.com/developers/reference#file-type-filtering}
*/
file_types?: FileUploadType[];
/**
+2
View File
@@ -1890,6 +1890,8 @@ export interface APIFileUploadComponent extends APIBaseComponent<ComponentType.F
*
* If only dot-prefixed extensions are specified, you must also include `.jpg` for image uploads
* and both `.mp4` and `.mov` for video uploads because of mobile platform limitations.
*
* @see {@link https://docs.discord.com/developers/reference#file-type-filtering}
*/
file_types?: FileUploadType[];
/**
+2
View File
@@ -1895,6 +1895,8 @@ export interface APIFileUploadComponent extends APIBaseComponent<ComponentType.F
*
* If only dot-prefixed extensions are specified, you must also include `.jpg` for image uploads
* and both `.mp4` and `.mov` for video uploads because of mobile platform limitations.
*
* @see {@link https://docs.discord.com/developers/reference#file-type-filtering}
*/
file_types?: FileUploadType[];
/**
+2
View File
@@ -1890,6 +1890,8 @@ export interface APIFileUploadComponent extends APIBaseComponent<ComponentType.F
*
* If only dot-prefixed extensions are specified, you must also include `.jpg` for image uploads
* and both `.mp4` and `.mov` for video uploads because of mobile platform limitations.
*
* @see {@link https://docs.discord.com/developers/reference#file-type-filtering}
*/
file_types?: FileUploadType[];
/**