Interface CreateAttachmentRequest

Interface of a create attachment request.

Hierarchy

  • BaseAttachment
    • CreateAttachmentRequest

Properties

content: string | ReadableStream

Content of the attachment. It can either be a readable stream or a base64 encoded string.

contentDisposition?: string

Content disposition of the attachment.

contentId?: string

Content ID of the attachment.

contentType: string

Attachment's content type.

filename: string

Attachment's name.

isInline?: boolean

If it's an inline attachment.

size?: number

Attachment's size in bytes.

Generated using TypeDoc