Interface

AttachmentPayloadOptions

Options for AttachmentMeta.

Properties

NameTypeDescription
description?stringAlt text / description for accessibility (optional).
namestringFilename (required; prefixed with SPOILER_ if spoiler is true).
spoiler?booleanWhether this attachment should be hidden until clicked (optional).