interface File {
    contents: Buffer;
    index?: number;
    name: string;
}

Properties

Properties

contents: Buffer

the contents of the file

index?: number

The index to use when uploading the file. You can use this to reference this specific file from attachments.

name: string

the name of the file