public class ChannelsSelectElement extends BlockElement
Modifier and Type | Class and Description |
---|---|
static class |
ChannelsSelectElement.ChannelsSelectElementBuilder |
Constructor and Description |
---|
ChannelsSelectElement() |
ChannelsSelectElement(PlainTextObject placeholder,
String actionId,
String initialChannel,
ConfirmationDialogObject confirm,
Boolean responseUrlEnabled) |
Modifier and Type | Method and Description |
---|---|
static ChannelsSelectElement.ChannelsSelectElementBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getActionId()
An identifier for the action triggered when a menu option is selected.
|
ConfirmationDialogObject |
getConfirm()
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
String |
getInitialChannel()
The ID of any valid public channel to be pre-selected when the menu loads.
|
PlainTextObject |
getPlaceholder()
A plain_text only text object that defines the placeholder text shown on the menu.
|
Boolean |
getResponseUrlEnabled()
This field only works with menus in input blocks in modals.
|
String |
getType() |
int |
hashCode() |
void |
setActionId(String actionId)
An identifier for the action triggered when a menu option is selected.
|
void |
setConfirm(ConfirmationDialogObject confirm)
A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.
|
void |
setInitialChannel(String initialChannel)
The ID of any valid public channel to be pre-selected when the menu loads.
|
void |
setPlaceholder(PlainTextObject placeholder)
A plain_text only text object that defines the placeholder text shown on the menu.
|
void |
setResponseUrlEnabled(Boolean responseUrlEnabled)
This field only works with menus in input blocks in modals.
|
String |
toString() |
public static final String TYPE
public ChannelsSelectElement()
public ChannelsSelectElement(PlainTextObject placeholder, String actionId, String initialChannel, ConfirmationDialogObject confirm, Boolean responseUrlEnabled)
public static ChannelsSelectElement.ChannelsSelectElementBuilder builder()
public String getType()
public PlainTextObject getPlaceholder()
public String getActionId()
public String getInitialChannel()
public ConfirmationDialogObject getConfirm()
public Boolean getResponseUrlEnabled()
public void setPlaceholder(PlainTextObject placeholder)
public void setActionId(String actionId)
public void setInitialChannel(String initialChannel)
public void setConfirm(ConfirmationDialogObject confirm)
public void setResponseUrlEnabled(Boolean responseUrlEnabled)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.