| Package | Description |
|---|---|
| com.slack.api.model.block |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.model.block.composition |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| com.slack.api.model.block.element |
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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
UnknownContextBlockElement |
| Modifier and Type | Method and Description |
|---|---|
List<ContextBlockElement> |
ContextBlock.getElements() |
| Modifier and Type | Method and Description |
|---|---|
static ContextBlock |
Blocks.context(List<ContextBlockElement> elements) |
static ContextBlock |
Blocks.context(String blockId,
List<ContextBlockElement> elements) |
ContextBlock.ContextBlockBuilder |
ContextBlock.ContextBlockBuilder.elements(List<ContextBlockElement> elements) |
void |
ContextBlock.setElements(List<ContextBlockElement> elements) |
| Constructor and Description |
|---|
ContextBlock(List<ContextBlockElement> elements,
String blockId) |
| Modifier and Type | Class and Description |
|---|---|
class |
MarkdownTextObject
https://api.slack.com/reference/messaging/composition-objects#text
|
class |
PlainTextObject
https://api.slack.com/reference/messaging/composition-objects#text
|
class |
TextObject
https://api.slack.com/reference/messaging/composition-objects#text
|
class |
UnknownTextObject
https://api.slack.com/reference/messaging/composition-objects#text
|
| Modifier and Type | Class and Description |
|---|---|
class |
ImageElement
https://api.slack.com/reference/block-kit/block-elements#image
|
| Modifier and Type | Method and Description |
|---|---|
static List<ContextBlockElement> |
BlockElements.asContextElements(ContextBlockElement... elements) |
| Modifier and Type | Method and Description |
|---|---|
static List<ContextBlockElement> |
BlockElements.asContextElements(ContextBlockElement... elements) |
| Modifier and Type | Method and Description |
|---|---|
ContextBlockElement |
GsonContextBlockElementFactory.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
GsonContextBlockElementFactory.serialize(ContextBlockElement src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Copyright © 2020. All rights reserved.