Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Optional content

content: string | Buffer | Readable

String, Buffer or a Stream contents for the attachmentent

Optional encoding

encoding: undefined | string

defines optional content encoding, eg. ‘base64’ or ‘hex’. This only applies if the content is a string. By default an unicode string is assumed.

Optional filename

filename: string | false

optional filename, defaults to ‘invite.ics’

Optional href

href: undefined | string

is an alternative for content to load the calendar data from an URL

Optional method

method: undefined | string

optional method, case insensitive, defaults to ‘publish’. Other possible values would be ‘request’, ‘reply’, ‘cancel’ or any other valid calendar method listed in RFC5546. This should match the METHOD: value in calendar event file.

Optional path

path: string | Url

path to a file or an URL (data uris are allowed as well) if you want to stream the file instead of including it (better for larger attachments)

Generated using TypeDoc