FileOptions
typedef · SourceType: Object
Properties
attachment
attachment: BufferResolvable
File to attach
name
optional
name: string
Filename of the attachment
Default: 'file.jpg'
description
optional
description: string
The description of the file
title
optional
title: string
The title of the file
waveform
optional
waveform: string
The base64 encoded sampled waveform for a voice message
duration
optional
duration: number
The duration of a voice message attachment in seconds