Skip to content

HTTPAttachmentData

typedef · Source

The attachment data that is sent to Discord Type: Object

Properties

attachment

attachment: string | Buffer | Stream

The source of this attachment data

name

name: string

The file name

file

file: Buffer | Stream

The file buffer

Unofficial software. Not affiliated with or supported by Discord.