Package | Description |
---|---|
com.slack.api.model.dialog |
The classes representing the Slack core objects such as conversations, messages, users, blocks, and surfaces.
|
Modifier and Type | Method and Description |
---|---|
static DialogTextElement.DialogTextElementBuilder |
DialogTextElement.builder() |
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.hint(String hint)
Helpful text provided to assist users in answering a question.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.label(String label)
Label displayed to user.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.maxLength(int maxLength)
Maximum input length allowed for element.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.minLength(int minLength)
Minimum input length allowed for element.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.name(String name)
Name of form element.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.optional(boolean optional)
Provide
true when the form element is not required. |
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.placeholder(String placeholder)
A string displayed as needed to help guide users in completing the element.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.subtype(DialogSubType subtype)
Subtype for this text type element (e.g.
|
DialogTextElement.DialogTextElementBuilder |
DialogTextElement.DialogTextElementBuilder.value(String value)
A default value for this field.
|
Modifier and Type | Method and Description |
---|---|
static DialogTextElement |
Dialogs.dialogText(ModelConfigurator<DialogTextElement.DialogTextElementBuilder> configurator) |
Copyright © 2020. All rights reserved.