Optional actionStates how the action buttons are aligned.
Optional actionsAllows displaying action items, such as buttons, on the attachment.
Optional audioAudio file to play, only supports what html's
Optional authorAuthor portion of the attachment.
Optional collapsedCauses the image, audio, and video sections to be hidding when this is true.
Optional colorThe color you want the order on the left side to be, supports any valid background-css value.
Optional descriptionAllows users to describe what the attachment is.
Optional fieldsThe field property of the attachments allows for "tables" or "columns" to be displayed on messages.
Optional imageThe image to display, will be "big" and easy to see.
Optional textThe text to display for this attachment.
Optional thumbnailAn image that displays to the left of the text, looks better when this is relatively small.
Optional timestampDisplays the time next to the text portion.
Optional timestampOnly applicable if the timestamp is provided, as it makes the time clickable to this link.
Optional titleTitle portion of the attachment.
Optional typeThe type of attachment this is, although hardly used and only used for files.
Optional videoVideo file to play, only supports what html's
Generated using TypeDoc
Interface which represents an attachment which can be added to a message.