| 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.util.json |
Provides JSON serialization/deserialization utilities for the classes in this library.
|
| Modifier and Type | Method and Description |
|---|---|
TextObject |
SectionBlock.getText() |
| Modifier and Type | Method and Description |
|---|---|
List<TextObject> |
SectionBlock.getFields() |
| Modifier and Type | Method and Description |
|---|---|
void |
SectionBlock.setText(TextObject text) |
SectionBlock.SectionBlockBuilder |
SectionBlock.SectionBlockBuilder.text(TextObject text) |
| Modifier and Type | Method and Description |
|---|---|
SectionBlock.SectionBlockBuilder |
SectionBlock.SectionBlockBuilder.fields(List<TextObject> fields) |
void |
SectionBlock.setFields(List<TextObject> fields) |
| Constructor and Description |
|---|
SectionBlock(TextObject text,
String blockId,
List<TextObject> fields,
BlockElement accessory) |
| Constructor and Description |
|---|
SectionBlock(TextObject text,
String blockId,
List<TextObject> fields,
BlockElement accessory) |
| 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 |
UnknownTextObject
https://api.slack.com/reference/messaging/composition-objects#text
|
| Modifier and Type | Method and Description |
|---|---|
TextObject |
OptionObject.getText()
A text object that defines the text shown in the option on the menu.
|
TextObject |
ConfirmationDialogObject.getText() |
| Modifier and Type | Method and Description |
|---|---|
static List<TextObject> |
BlockCompositions.asSectionFields(TextObject... elements) |
| Modifier and Type | Method and Description |
|---|---|
static List<TextObject> |
BlockCompositions.asSectionFields(TextObject... elements) |
static OptionObject |
BlockCompositions.option(TextObject text,
String value) |
void |
OptionObject.setText(TextObject text)
A text object that defines the text shown in the option on the menu.
|
void |
ConfirmationDialogObject.setText(TextObject text) |
OptionObject.OptionObjectBuilder |
OptionObject.OptionObjectBuilder.text(TextObject text)
A text object that defines the text shown in the option on the menu.
|
ConfirmationDialogObject.ConfirmationDialogObjectBuilder |
ConfirmationDialogObject.ConfirmationDialogObjectBuilder.text(TextObject text) |
| Constructor and Description |
|---|
ConfirmationDialogObject(PlainTextObject title,
TextObject text,
PlainTextObject confirm,
PlainTextObject deny,
String style) |
OptionObject(TextObject text,
String value,
PlainTextObject description,
String url) |
| Modifier and Type | Method and Description |
|---|---|
TextObject |
GsonTextObjectFactory.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
GsonTextObjectFactory.serialize(TextObject src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Copyright © 2020. All rights reserved.