Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.actions(List<Action> actions) |
Actions are defined as an array, and hashes contained within it will be displayed in as buttons in the message attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.appUnfurl(Boolean appUnfurl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.appUnfurlUrl(String appUnfurlUrl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.authorIcon(String authorIcon) |
A valid URL that displays a small 16x16px image to the left of the author_name text.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.authorId(String authorId) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.authorLink(String authorLink) |
A valid URL that will hyperlink the author_name text mentioned above.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.authorName(String authorName) |
Small text used to display the author's name.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.authorSubname(String authorSubname) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.blocks(List<LayoutBlock> blocks) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.botId(String botId) |
|
static Attachment.AttachmentBuilder |
Attachment.builder() |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.callbackId(String callbackId) |
This is optional value that specifies callback id when there are buttons.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.channelId(String channelId) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.channelName(String channelName) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.color(String color) |
Like traffic signals, color-coding messages can quickly communicate intent
and help separate them from the flow of other messages in the timeline.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.fallback(String fallback) |
A plain-text summary of the attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.fields(List<Field> fields) |
Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.filename(String filename) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.footer(String footer) |
Add some brief text to help contextualize and identify an attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.footerIcon(String footerIcon) |
To render a small icon beside your footer text, provide a publicly accessible URL string in the footer_icon field.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.fromUrl(String fromUrl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.id(Integer id) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.imageBytes(Integer imageBytes) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.imageHeight(Integer imageHeight) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.imageUrl(String imageUrl) |
A valid URL to an image file that will be displayed inside a message attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.imageWidth(Integer imageWidth) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.indent(Boolean indent) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.metadata(Attachment.AttachmentMetadata metadata) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.mimetype(String mimetype) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.mrkdwnIn(List<String> mrkdwnIn) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.msgSubtype(String msgSubtype) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.msgUnfurl(Boolean msgUnfurl) |
NOTE: The the following Booleans (is_msg_unfurl, is_reply_unfurl, is_thread_root_unfurl,
is_app_unfurl) default to null intentionally to support block attachments.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.originalUrl(String originalUrl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.pretext(String pretext) |
This is optional text that appears above the message attachment block.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.replyUnfurl(Boolean replyUnfurl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.serviceIcon(String serviceIcon) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.serviceName(String serviceName) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.serviceUrl(String serviceUrl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.size(Integer size) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.text(String text) |
This is the main text in a message attachment, and can contain standard message markup (see details below).
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.threadRootUnfurl(Boolean threadRootUnfurl) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.thumbHeight(Integer thumbHeight) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.thumbUrl(String thumbUrl) |
A valid URL to an image file that will be displayed as a thumbnail on the right side of a message attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.thumbWidth(Integer thumbWidth) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.title(String title) |
The title is displayed as larger, bold text near the top of a message attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.titleLink(String titleLink) |
The title is displayed as larger, bold text near the top of a message attachment.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.ts(String ts) |
ts (timestamp)
Does your attachment relate to something happening at a specific time?
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.url(String url) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.videoHtml(String videoHtml) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.videoHtmlHeight(Integer videoHtmlHeight) |
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.videoHtmlWidth(Integer videoHtmlWidth) |
|