| Package | Description |
|---|---|
| com.slack.api.model.block.composition |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
static OptionObject.OptionObjectBuilder |
OptionObject.builder() |
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.
|
OptionObject.OptionObjectBuilder |
OptionObject.OptionObjectBuilder.text(TextObject text)
A text object that defines the text shown in the option on the menu.
|
OptionObject.OptionObjectBuilder |
OptionObject.OptionObjectBuilder.url(String url)
A URL to load in the user's browser when the option is clicked.
|
OptionObject.OptionObjectBuilder |
OptionObject.OptionObjectBuilder.value(String value)
The string value that will be passed to your app when this option is chosen.
|
| Modifier and Type | Method and Description |
|---|---|
static OptionObject |
BlockCompositions.option(ModelConfigurator<OptionObject.OptionObjectBuilder> configurator) |
Copyright © 2020. All rights reserved.