| Package | Description |
|---|---|
| com.slack.api.model.block.element |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.actionId(String actionId)
An identifier for this action.
|
static ButtonElement.ButtonElementBuilder |
ButtonElement.builder() |
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.confirm(ConfirmationDialogObject confirm)
A confirm object that defines an optional confirmation dialog after the button is clicked.
|
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.style(String style)
Decorates buttons with alternative visual color schemes.
|
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.text(PlainTextObject text)
A text object that defines the button's text.
|
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.url(String url)
A URL to load in the user's browser when the button is clicked.
|
ButtonElement.ButtonElementBuilder |
ButtonElement.ButtonElementBuilder.value(String value)
The value to send along with the interaction payload.
|
| Modifier and Type | Method and Description |
|---|---|
static ButtonElement |
BlockElements.button(ModelConfigurator<ButtonElement.ButtonElementBuilder> configurator) |
Copyright © 2020. All rights reserved.