Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Attachment

Hierarchy

  • Attachment

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Optional file

file: string | Readable | Buffer | MessageAttachment

The unresolved file to send to the api

Optional name

name: undefined | string

The name of the Attachment

Methods

resolve

  • resolve(): Promise<File>

setFile

setName

  • setName(name: string): this

Generated using TypeDoc