| 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 |
|---|---|
ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.ChannelsSelectElementBuilder.actionId(String actionId)
An identifier for the action triggered when a menu option is selected.
|
static ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.builder() |
ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.ChannelsSelectElementBuilder.confirm(ConfirmationDialogObject confirm)
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.ChannelsSelectElementBuilder.initialChannel(String initialChannel)
The ID of any valid public channel to be pre-selected when the menu loads.
|
ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.ChannelsSelectElementBuilder.placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
ChannelsSelectElement.ChannelsSelectElementBuilder |
ChannelsSelectElement.ChannelsSelectElementBuilder.responseUrlEnabled(Boolean responseUrlEnabled)
This field only works with menus in input blocks in modals.
|
| Modifier and Type | Method and Description |
|---|---|
static ChannelsSelectElement |
BlockElements.channelsSelect(ModelConfigurator<ChannelsSelectElement.ChannelsSelectElementBuilder> configurator) |
Copyright © 2020. All rights reserved.