| Package | Description |
|---|---|
| com.slack.api.model |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
Field |
Field.FieldBuilder.build() |
static Field |
Attachments.field(ModelConfigurator<Field.FieldBuilder> configurator) |
| Modifier and Type | Method and Description |
|---|---|
static List<Field> |
Attachments.asFields(Field... fields) |
List<Field> |
Attachment.getFields()
Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
|
| Modifier and Type | Method and Description |
|---|---|
static List<Field> |
Attachments.asFields(Field... fields) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
Attachment.setFields(List<Field> fields)
Fields are defined as an array, and hashes contained within it will be displayed in a table inside the message attachment.
|
| Constructor and Description |
|---|
Attachment(String msgSubtype,
String fallback,
String callbackId,
String color,
String pretext,
String serviceUrl,
String serviceName,
String serviceIcon,
String authorId,
String authorName,
String authorLink,
String authorIcon,
String fromUrl,
String originalUrl,
String authorSubname,
String channelId,
String channelName,
Integer id,
String botId,
Boolean indent,
Boolean msgUnfurl,
Boolean replyUnfurl,
Boolean threadRootUnfurl,
Boolean appUnfurl,
String appUnfurlUrl,
String title,
String titleLink,
String text,
List<Field> fields,
String imageUrl,
Integer imageWidth,
Integer imageHeight,
Integer imageBytes,
String thumbUrl,
Integer thumbWidth,
Integer thumbHeight,
String videoHtml,
Integer videoHtmlWidth,
Integer videoHtmlHeight,
String footer,
String footerIcon,
String ts,
List<String> mrkdwnIn,
List<Action> actions,
List<LayoutBlock> blocks,
String filename,
Integer size,
String mimetype,
String url,
Attachment.AttachmentMetadata metadata) |
Copyright © 2020. All rights reserved.