Interface
AttachmentPayloadOptions
Options for attachment builder.
Properties
description
?: stringAlt text / description for accessibility (optional).
name
: stringFilename (required, will be prefixed with `SPOILER_` if spoiler is true).
spoiler
?: booleanWhether this attachment should be hidden until clicked (optional).