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.
|
List<Button> |
getButtons()
Gets the
buttons. |
String |
getText()
Gets the
text. |
void |
setButtons(List<Button> buttons)
Sets the
buttons. |
void |
setText(String text)
Sets the
text. |
getTemplateType, setTemplateTypepublic ButtonTemplatePayload(String text)
text - the text.public ButtonTemplatePayload()
Copyright © 2016 BotMill. All rights reserved.