# AttachmentParams

**Kind**: interface | **Module**: [Outlook](https://docs.interop.io/adapters/reference/javascript/outlook/index.md)

**Source**: https://docs.interop.io/adapters/reference/javascript/outlook/attachmentparams/index.html

This composite type describes the attachment file, created dynamically.

## Properties

- **`data`** (`string`, required)
  Attachment file data.
- **`encoding`** (`string`, optional)
  Encoding (base64 for example).
- **`fileName`** (`string`, required)
  Attachment file name.
- **`truncate`** (`boolean`, optional) default: `true`
  Truncate the file.
