| 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 |
|---|---|
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.actionId(String actionId)
An identifier for the input value when the parent modal is submitted.
|
static PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.builder() |
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.initialValue(String initialValue)
The initial value in the plain-text input when it is loaded.
|
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.maxLength(Integer maxLength)
The maximum length of input that the user can provide.
|
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.minLength(Integer minLength)
The minimum length of input that the user must provide.
|
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.multiline(boolean multiline)
Indicates whether the input will be a single line (false) or a larger textarea (true).
|
PlainTextInputElement.PlainTextInputElementBuilder |
PlainTextInputElement.PlainTextInputElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown in the plain-text input.
|
| Modifier and Type | Method and Description |
|---|---|
static PlainTextInputElement |
BlockElements.plainTextInput(ModelConfigurator<PlainTextInputElement.PlainTextInputElementBuilder> configurator) |
Copyright © 2020. All rights reserved.