AttachmentPayload
Interface: AttachmentPayload
Section titled “Interface: AttachmentPayload”Defined in: types/utils.ts:23
Plain object shape accepted by AttachmentBuilder.from as an alternative to an existing builder.
Properties
Section titled “Properties”attachment
Section titled “attachment”attachment:
Stream|BufferResolvable
Defined in: types/utils.ts:24
description?
Section titled “description?”
optionaldescription?:string
Defined in: types/utils.ts:25
duration?
Section titled “duration?”
optionalduration?:number
Defined in: types/utils.ts:26
optionalname?:string
Defined in: types/utils.ts:27
title?
Section titled “title?”
optionaltitle?:string
Defined in: types/utils.ts:28
waveform?
Section titled “waveform?”
optionalwaveform?:string
Defined in: types/utils.ts:29
