| 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 https://api.slack.com/reference/block-kit/composition-objects#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(PlainTextObject text)
The formatting to use for this text object.
|
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 text for the block.
|
| Modifier and Type | Method and Description |
|---|---|
static OptionObject |
BlockCompositions.option(ModelConfigurator<OptionObject.OptionObjectBuilder> configurator) |
Copyright © 2020. All rights reserved.