Interface
AttachmentBuilderOptions
Options for AttachmentBuilder.
Properties
| Name | Type | Description |
|---|---|---|
| description? | string | Alt text / description for accessibility (optional). |
| name | string | Filename (required; prefixed with SPOILER_ when spoiler is true). |
| spoiler? | boolean | Whether this attachment should be hidden until clicked (optional). |