public class ConversationsSelectElement extends BlockElement
| Modifier and Type | Class and Description |
|---|---|
static class |
ConversationsSelectElement.ConversationsSelectElementBuilder |
| Constructor and Description |
|---|
ConversationsSelectElement() |
ConversationsSelectElement(PlainTextObject placeholder,
String actionId,
String initialConversation,
ConfirmationDialogObject confirm) |
| Modifier and Type | Method and Description |
|---|---|
static ConversationsSelectElement.ConversationsSelectElementBuilder |
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 |
getInitialConversation()
The ID of any valid conversation 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.
|
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 |
setInitialConversation(String initialConversation)
The ID of any valid conversation 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.
|
String |
toString() |
public static final String TYPE
public ConversationsSelectElement()
public ConversationsSelectElement(PlainTextObject placeholder, String actionId, String initialConversation, ConfirmationDialogObject confirm)
public static ConversationsSelectElement.ConversationsSelectElementBuilder builder()
public String getType()
public PlainTextObject getPlaceholder()
public String getActionId()
public String getInitialConversation()
public ConfirmationDialogObject getConfirm()
public void setPlaceholder(PlainTextObject placeholder)
public void setActionId(String actionId)
public void setInitialConversation(String initialConversation)
public void setConfirm(ConfirmationDialogObject confirm)
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.