You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

DescriptiveRawFile

export declare interface DescriptiveRawFile extends RawFile
export declare interface DescriptiveRawFile extends RawFile

No summary provided.

Extends

RawFile
contentType?:string
Content-Type of the file
Inherited from RawFile
data:Buffer | Uint8Array | boolean | number | string
The actual data for the file
Inherited from RawFile
description?:string
key?:string
An explicit key to use for key of the formdata field for this file. When not provided, the index of the file in the files array is used in the form files[${index}]. If you wish to alter the placeholder snowflake, you must provide this property in the same form (files[${placeholder}])
Inherited from RawFile
name:string
The name of the file
Inherited from RawFile