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.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 |
UnknownBlockElement |
Modifier and Type | Method and Description |
---|---|
BlockElement |
SectionBlock.getAccessory() |
BlockElement |
InputBlock.getElement()
An plain-text input element, a select menu element, or a multi-select menu element.
|
Modifier and Type | Method and Description |
---|---|
List<BlockElement> |
RichTextBlock.getElements() |
List<BlockElement> |
ActionsBlock.getElements() |
Modifier and Type | Method and Description |
---|---|
SectionBlock.SectionBlockBuilder |
SectionBlock.SectionBlockBuilder.accessory(BlockElement accessory) |
InputBlock.InputBlockBuilder |
InputBlock.InputBlockBuilder.element(BlockElement element)
An plain-text input element, a select menu element, or a multi-select menu element.
|
void |
SectionBlock.setAccessory(BlockElement accessory) |
void |
InputBlock.setElement(BlockElement element)
An plain-text input element, a select menu element, or a multi-select menu element.
|
Modifier and Type | Method and Description |
---|---|
static ActionsBlock |
Blocks.actions(List<BlockElement> elements) |
static ActionsBlock |
Blocks.actions(String blockId,
List<BlockElement> elements) |
RichTextBlock.RichTextBlockBuilder |
RichTextBlock.RichTextBlockBuilder.elements(List<BlockElement> elements) |
ActionsBlock.ActionsBlockBuilder |
ActionsBlock.ActionsBlockBuilder.elements(List<BlockElement> elements) |
void |
RichTextBlock.setElements(List<BlockElement> elements) |
void |
ActionsBlock.setElements(List<BlockElement> elements) |
Constructor and Description |
---|
InputBlock(String blockId,
PlainTextObject label,
BlockElement element,
PlainTextObject hint,
boolean optional) |
SectionBlock(TextObject text,
String blockId,
List<TextObject> fields,
BlockElement accessory) |
Constructor and Description |
---|
ActionsBlock(List<BlockElement> elements,
String blockId) |
RichTextBlock(List<BlockElement> elements,
String blockId) |
Modifier and Type | Class and Description |
---|---|
class |
ButtonElement
https://api.slack.com/reference/block-kit/block-elements#button
|
class |
ChannelsSelectElement
https://api.slack.com/reference/block-kit/block-elements#channel_select
|
class |
CheckboxesElement
https://api.slack.com/reference/block-kit/block-elements#checkboxes
|
class |
ConversationsSelectElement
https://api.slack.com/reference/block-kit/block-elements#conversation_select
|
class |
DatePickerElement
https://api.slack.com/reference/block-kit/block-elements#datepicker
|
class |
ExternalSelectElement
https://api.slack.com/reference/block-kit/block-elements#external_select
|
class |
ImageElement
https://api.slack.com/reference/block-kit/block-elements#image
|
class |
MultiChannelsSelectElement
https://api.slack.com/reference/block-kit/block-elements#channel_multi_select
|
class |
MultiConversationsSelectElement
https://api.slack.com/reference/block-kit/block-elements#conversation_multi_select
|
class |
MultiExternalSelectElement
https://api.slack.com/reference/block-kit/block-elements#external_multi_select
|
class |
MultiStaticSelectElement
https://api.slack.com/reference/block-kit/block-elements#multi_select
|
class |
MultiUsersSelectElement
https://api.slack.com/reference/block-kit/block-elements#users_multi_select
|
class |
OverflowMenuElement
https://api.slack.com/reference/block-kit/block-elements#overflow
|
class |
PlainTextInputElement
https://api.slack.com/reference/block-kit/block-elements#input
|
class |
RadioButtonsElement
https://api.slack.com/reference/block-kit/block-elements#radio
|
class |
RichTextListElement
https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
|
class |
RichTextPreformattedElement
https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
|
class |
RichTextQuoteElement
https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
|
class |
RichTextSectionElement
https://api.slack.com/changelog/2019-09-what-they-see-is-what-you-get-and-more-and-less
|
class |
RichTextUnknownElement |
class |
StaticSelectElement
https://api.slack.com/reference/messaging/block-elements#static-select
|
class |
UsersSelectElement
https://api.slack.com/reference/block-kit/block-elements#users_select
|
Modifier and Type | Method and Description |
---|---|
static List<BlockElement> |
BlockElements.asElements(BlockElement... elements) |
Modifier and Type | Method and Description |
---|---|
static List<BlockElement> |
BlockElements.asElements(BlockElement... elements) |
Modifier and Type | Method and Description |
---|---|
BlockElement |
GsonBlockElementFactory.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
GsonBlockElementFactory.serialize(BlockElement src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
Copyright © 2020. All rights reserved.