public static class ChannelsSelectElement.ChannelsSelectElementBuilder extends Object
Modifier and Type | Method and Description |
---|---|
ChannelsSelectElement.ChannelsSelectElementBuilder |
actionId(String actionId)
An identifier for the action triggered when a menu option is selected.
|
ChannelsSelectElement |
build() |
ChannelsSelectElement.ChannelsSelectElementBuilder |
confirm(ConfirmationDialogObject confirm)
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
ChannelsSelectElement.ChannelsSelectElementBuilder |
initialChannel(String initialChannel)
The ID of any valid public channel to be pre-selected when the menu loads.
|
ChannelsSelectElement.ChannelsSelectElementBuilder |
placeholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
String |
toString() |
public ChannelsSelectElement.ChannelsSelectElementBuilder placeholder(PlainTextObject placeholder)
public ChannelsSelectElement.ChannelsSelectElementBuilder actionId(String actionId)
public ChannelsSelectElement.ChannelsSelectElementBuilder initialChannel(String initialChannel)
public ChannelsSelectElement.ChannelsSelectElementBuilder confirm(ConfirmationDialogObject confirm)
public ChannelsSelectElement build()
Copyright © 2020. All rights reserved.