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