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