| Package | Description |
|---|---|
| com.slack.api.model.block |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
| Modifier and Type | Method and Description |
|---|---|
InputBlock.InputBlockBuilder |
InputBlock.InputBlockBuilder.blockId(String blockId) |
static InputBlock.InputBlockBuilder |
InputBlock.builder() |
InputBlock.InputBlockBuilder |
InputBlock.InputBlockBuilder.element(BlockElement element)
An plain-text input element, a select menu element, or a multi-select menu element.
|
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.
|
InputBlock.InputBlockBuilder |
InputBlock.InputBlockBuilder.optional(boolean optional)
A boolean that indicates whether the input element may be empty when a user submits the modal.
|
| Modifier and Type | Method and Description |
|---|---|
static InputBlock |
Blocks.input(ModelConfigurator<InputBlock.InputBlockBuilder> configurator) |
Copyright © 2020. All rights reserved.