public class ButtonTemplatePayload extends TemplateBasePayload
templateType| Constructor and Description |
|---|
ButtonTemplatePayload()
Instantiates a new ButtonTemplatePayload.
|
ButtonTemplatePayload(String text)
Instantiates a new ButtonTemplatePayload.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addButton(Button button)
Adds the button.
|
boolean |
equals(Object obj) |
List<Button> |
getButtons()
Gets the
buttons. |
String |
getText()
Gets the
text. |
int |
hashCode() |
void |
setButtons(List<Button> buttons)
Sets the
buttons. |
void |
setText(String text)
Sets the
text. |
String |
toString() |
getTemplateType, setTemplateTypepublic ButtonTemplatePayload(String text)
text - the text.public ButtonTemplatePayload()
public void setButtons(List<Button> buttons)
buttons.buttons - the buttons to set.public void addButton(Button button)
button - the button to add.public int hashCode()
hashCode in class TemplateBasePayloadpublic boolean equals(Object obj)
equals in class TemplateBasePayloadpublic String toString()
toString in class TemplateBasePayloadCopyright © 2017 BotMill. All rights reserved.