| 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.model.view |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
PlainTextObject |
InputBlock.getHint()
An optional hint that appears below an input element in a lighter grey.
|
PlainTextObject |
InputBlock.getLabel()
A label that appears above an input element in the form of a text object that must have type of plain_text.
|
PlainTextObject |
ImageBlock.getTitle() |
| Modifier and Type | Method and Description |
|---|---|
InputBlock.InputBlockBuilder |
InputBlock.InputBlockBuilder.hint(PlainTextObject hint)
An optional hint that appears below an input element in a lighter grey.
|
InputBlock.InputBlockBuilder |
InputBlock.InputBlockBuilder.label(PlainTextObject label)
A label that appears above an input element in the form of a text object that must have type of plain_text.
|
void |
InputBlock.setHint(PlainTextObject hint)
An optional hint that appears below an input element in a lighter grey.
|
void |
InputBlock.setLabel(PlainTextObject label)
A label that appears above an input element in the form of a text object that must have type of plain_text.
|
void |
ImageBlock.setTitle(PlainTextObject title) |
ImageBlock.ImageBlockBuilder |
ImageBlock.ImageBlockBuilder.title(PlainTextObject title) |
| Constructor and Description |
|---|
ImageBlock(String fallback,
String imageUrl,
Integer imageWidth,
Integer imageHeight,
Integer imageBytes,
String altText,
PlainTextObject title,
String blockId) |
InputBlock(String blockId,
PlainTextObject label,
BlockElement element,
PlainTextObject hint,
boolean optional) |
| Modifier and Type | Method and Description |
|---|---|
PlainTextObject |
PlainTextObject.PlainTextObjectBuilder.build() |
PlainTextObject |
ConfirmationDialogObject.getConfirm() |
PlainTextObject |
ConfirmationDialogObject.getDeny() |
PlainTextObject |
OptionObject.getDescription()
A plain_text only text object that defines a line of descriptive text shown
below the text field beside the radio button.
|
PlainTextObject |
OptionGroupObject.getLabel() |
PlainTextObject |
ConfirmationDialogObject.getTitle() |
static PlainTextObject |
BlockCompositions.plainText(ModelConfigurator<PlainTextObject.PlainTextObjectBuilder> configurator) |
static PlainTextObject |
BlockCompositions.plainText(String text) |
static PlainTextObject |
BlockCompositions.plainText(String text,
boolean emoji) |
| Modifier and Type | Method and Description |
|---|---|
ConfirmationDialogObject.ConfirmationDialogObjectBuilder |
ConfirmationDialogObject.ConfirmationDialogObjectBuilder.confirm(PlainTextObject confirm) |
ConfirmationDialogObject.ConfirmationDialogObjectBuilder |
ConfirmationDialogObject.ConfirmationDialogObjectBuilder.deny(PlainTextObject deny) |
OptionObject.OptionObjectBuilder |
OptionObject.OptionObjectBuilder.description(PlainTextObject description)
A plain_text only text object that defines a line of descriptive text shown
below the text field beside the radio button.
|
OptionGroupObject.OptionGroupObjectBuilder |
OptionGroupObject.OptionGroupObjectBuilder.label(PlainTextObject label) |
void |
ConfirmationDialogObject.setConfirm(PlainTextObject confirm) |
void |
ConfirmationDialogObject.setDeny(PlainTextObject deny) |
void |
OptionObject.setDescription(PlainTextObject description)
A plain_text only text object that defines a line of descriptive text shown
below the text field beside the radio button.
|
void |
OptionGroupObject.setLabel(PlainTextObject label) |
void |
ConfirmationDialogObject.setTitle(PlainTextObject title) |
ConfirmationDialogObject.ConfirmationDialogObjectBuilder |
ConfirmationDialogObject.ConfirmationDialogObjectBuilder.title(PlainTextObject title) |
| Constructor and Description |
|---|
ConfirmationDialogObject(PlainTextObject title,
TextObject text,
PlainTextObject confirm,
PlainTextObject deny,
String style) |
OptionGroupObject(PlainTextObject label,
List<OptionObject> options) |
OptionObject(TextObject text,
String value,
PlainTextObject description,
String url) |
| Modifier and Type | Method and Description |
|---|---|
PlainTextObject |
StaticSelectElement.getPlaceholder() |
PlainTextObject |
DatePickerElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the datepicker.
|
PlainTextObject |
MultiExternalSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
UsersSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
ChannelsSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
ConversationsSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
MultiConversationsSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
PlainTextInputElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
PlainTextObject |
MultiStaticSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
ExternalSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
MultiUsersSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
MultiChannelsSelectElement.getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextObject |
ButtonElement.getText()
A text object that defines the button's text.
|
| Modifier and Type | Method and Description |
|---|---|
StaticSelectElement.StaticSelectElementBuilder |
StaticSelectElement.StaticSelectElementBuilder.placeholder(PlainTextObject placeholder) |
DatePickerElement.DatePickerElementBuilder |
DatePickerElement.DatePickerElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the datepicker.
|
MultiExternalSelectElement.MultiExternalSelectElementBuilder |
MultiExternalSelectElement.MultiExternalSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
UsersSelectElement.UsersSelectElementBuilder |
UsersSelectElement.UsersSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.ChannelsSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
ConversationsSelectElement.ConversationsSelectElementBuilder |
ConversationsSelectElement.ConversationsSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
MultiConversationsSelectElement.MultiConversationsSelectElementBuilder |
MultiConversationsSelectElement.MultiConversationsSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
MultiStaticSelectElement.MultiStaticSelectElementBuilder |
MultiStaticSelectElement.MultiStaticSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
ExternalSelectElement.ExternalSelectElementBuilder |
ExternalSelectElement.ExternalSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
MultiUsersSelectElement.MultiUsersSelectElementBuilder |
MultiUsersSelectElement.MultiUsersSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
MultiChannelsSelectElement.MultiChannelsSelectElementBuilder |
MultiChannelsSelectElement.MultiChannelsSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
StaticSelectElement.setPlaceholder(PlainTextObject placeholder) |
void |
DatePickerElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the datepicker.
|
void |
MultiExternalSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
UsersSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
ChannelsSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
ConversationsSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
MultiConversationsSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
PlainTextInputElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
void |
MultiStaticSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
ExternalSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
MultiUsersSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
MultiChannelsSelectElement.setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
ButtonElement.setText(PlainTextObject text)
A text object that defines the button's text.
|
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.text(PlainTextObject text)
A text object that defines the button's text.
|
| Modifier and Type | Method and Description |
|---|---|
PlainTextObject |
ViewState.SelectedOption.getText() |
| Modifier and Type | Method and Description |
|---|---|
void |
ViewState.SelectedOption.setText(PlainTextObject text) |
Copyright © 2020. All rights reserved.