| Package | Description |
|---|---|
| com.slack.api.model |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.model.block |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.model.event |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.model.view |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.util.json |
Provides JSON serialization/deserialization utilities for the classes in this library.
|
| com.slack.api.webhook |
Provides the classes used for Incoming Webhooks feature.
|
| Modifier and Type | Method and Description |
|---|---|
List<LayoutBlock> |
Message.getBlocks() |
List<LayoutBlock> |
MatchedItem.getBlocks() |
List<LayoutBlock> |
MatchedItem.OtherItem.getBlocks() |
List<LayoutBlock> |
File.getBlocks()
Deprecated.
|
List<LayoutBlock> |
Attachment.getBlocks() |
List<LayoutBlock> |
Latest.getBlocks() |
| Modifier and Type | Method and Description |
|---|---|
File.FileBuilder |
File.FileBuilder.blocks(List<LayoutBlock> blocks)
Deprecated.
|
Attachment.AttachmentBuilder |
Attachment.AttachmentBuilder.blocks(List<LayoutBlock> blocks) |
void |
Message.setBlocks(List<LayoutBlock> blocks) |
void |
MatchedItem.setBlocks(List<LayoutBlock> blocks) |
void |
MatchedItem.OtherItem.setBlocks(List<LayoutBlock> blocks) |
void |
File.setBlocks(List<LayoutBlock> blocks)
Deprecated.
|
void |
Attachment.setBlocks(List<LayoutBlock> blocks) |
void |
Latest.setBlocks(List<LayoutBlock> blocks) |
| 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) |
File(String id,
Integer created,
Integer timestamp,
String name,
String title,
String subject,
String mimetype,
String filetype,
String prettyType,
String user,
String mode,
boolean editable,
boolean nonOwnerEditable,
String editor,
String lastEditor,
Integer updated,
boolean external,
String externalType,
String externalId,
String externalUrl,
String username,
Integer size,
String urlPrivate,
String urlPrivateDownload,
String appId,
String appName,
String thumb64,
String thumb64Gif,
String thumb64Width,
String thumb64Height,
String thumb80,
String thumb80Gif,
String thumb80Width,
String thumb80Height,
String thumb160,
String thumb160Gif,
String thumb160Width,
String thumb160Height,
String thumb360,
String thumb360Gif,
String thumb360Width,
String thumb360Height,
String thumb480,
String thumb480Gif,
String thumb480Width,
String thumb480Height,
String thumb720,
String thumb720Gif,
String thumb720Width,
String thumb720Height,
String thumb800,
String thumb800Gif,
String thumb800Width,
String thumb800Height,
String thumb960,
String thumb960Gif,
String thumb960Width,
String thumb960Height,
String thumb1024,
String thumb1024Gif,
String thumb1024Width,
String thumb1024Height,
String thumbVideo,
String thumbPdf,
String thumbPdfWidth,
String thumbPdfHeight,
String thumbTiny,
String convertedPdf,
Integer imageExifRotation,
String originalWidth,
String originalHeight,
String deanimateGif,
String pjpeg,
String permalink,
String permalinkPublic,
String editLink,
boolean hasRichPreview,
boolean previewTruncated,
String preview,
String previewHighlight,
String plainText,
String previewPlainText,
boolean hasMore,
boolean sentToSelf,
Integer lines,
Integer linesMore,
boolean _public,
boolean publicUrlShared,
boolean displayAsBot,
List<String> channels,
List<String> groups,
List<String> ims,
File.Shares shares,
List<File.Address> to,
List<File.Address> from,
List<File.Address> cc,
Map<String,File.PinnedInfo> pinnedInfo,
String channelActionsTs,
Integer channelActionsCount,
String botId,
FileComment initialComment,
Integer numStars,
boolean starred,
List<String> pinnedTo,
List<Reaction> reactions,
Integer commentsCount,
List<Attachment> attachments,
List<LayoutBlock> blocks) |
| Modifier and Type | Class and Description |
|---|---|
class |
ActionsBlock
https://api.slack.com/reference/messaging/blocks#actions
|
class |
CallBlock
https://api.slack.com/reference/messaging/blocks#call
|
class |
ContextBlock
https://api.slack.com/reference/messaging/blocks#context
|
class |
DividerBlock
https://api.slack.com/reference/messaging/blocks#divider
|
class |
FileBlock
https://api.slack.com/reference/messaging/blocks#file
|
class |
ImageBlock
https://api.slack.com/reference/messaging/blocks#image
|
class |
InputBlock
https://api.slack.com/reference/messaging/blocks#input
|
class |
RichTextBlock
https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
|
class |
SectionBlock
https://api.slack.com/reference/messaging/blocks#section
|
class |
UnknownBlock
https://api.slack.com/reference/messaging/blocks
|
| Modifier and Type | Method and Description |
|---|---|
static List<LayoutBlock> |
Blocks.asBlocks(LayoutBlock... blocks) |
| Modifier and Type | Method and Description |
|---|---|
static List<LayoutBlock> |
Blocks.asBlocks(LayoutBlock... blocks) |
| Modifier and Type | Method and Description |
|---|---|
List<LayoutBlock> |
StarAddedEvent.Message.getBlocks() |
List<LayoutBlock> |
MessageBotEvent.getBlocks() |
List<LayoutBlock> |
MessageRepliedEvent.Message.getBlocks() |
List<LayoutBlock> |
MessageEvent.getBlocks() |
List<LayoutBlock> |
MessageChangedEvent.Message.getBlocks() |
List<LayoutBlock> |
MessageThreadBroadcastEvent.getBlocks() |
List<LayoutBlock> |
StarRemovedEvent.Message.getBlocks() |
List<LayoutBlock> |
MessageEkmAccessDeniedEvent.getBlocks() |
List<LayoutBlock> |
PinRemovedEvent.Message.getBlocks() |
List<LayoutBlock> |
MessageDeletedEvent.Message.getBlocks() |
List<LayoutBlock> |
PinAddedEvent.Message.getBlocks() |
| Modifier and Type | Method and Description |
|---|---|
void |
StarAddedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
void |
MessageBotEvent.setBlocks(List<LayoutBlock> blocks) |
void |
MessageRepliedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
void |
MessageEvent.setBlocks(List<LayoutBlock> blocks) |
void |
MessageChangedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
void |
MessageThreadBroadcastEvent.setBlocks(List<LayoutBlock> blocks) |
void |
StarRemovedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
void |
MessageEkmAccessDeniedEvent.setBlocks(List<LayoutBlock> blocks) |
void |
PinRemovedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
void |
MessageDeletedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
void |
PinAddedEvent.Message.setBlocks(List<LayoutBlock> blocks) |
| Modifier and Type | Method and Description |
|---|---|
List<LayoutBlock> |
View.getBlocks() |
| Modifier and Type | Method and Description |
|---|---|
View.ViewBuilder |
View.ViewBuilder.blocks(List<LayoutBlock> blocks) |
void |
View.setBlocks(List<LayoutBlock> blocks) |
| Constructor and Description |
|---|
View(String id,
String teamId,
String type,
ViewTitle title,
ViewSubmit submit,
ViewClose close,
List<LayoutBlock> blocks,
String privateMetadata,
String callbackId,
String externalId,
ViewState state,
String hash,
Boolean clearOnClose,
Boolean notifyOnClose,
String rootViewId,
String previousViewId,
String appId,
String botId) |
| Modifier and Type | Method and Description |
|---|---|
LayoutBlock |
GsonLayoutBlockFactory.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
GsonLayoutBlockFactory.serialize(LayoutBlock src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
List<LayoutBlock> |
Payload.getBlocks()
An array of
layout blocks in the same format as described in the
layout block guide. |
| Modifier and Type | Method and Description |
|---|---|
Payload.PayloadBuilder |
Payload.PayloadBuilder.blocks(List<LayoutBlock> blocks)
An array of
layout blocks in the same format as described in the
layout block guide. |
void |
Payload.setBlocks(List<LayoutBlock> blocks)
An array of
layout blocks in the same format as described in the
layout block guide. |
Copyright © 2020. All rights reserved.