| Modifier and Type | Method and Description |
|---|---|
ListTemplateBuilder |
ListTemplateBuilder.addElement(ListTemplateElement element)
Adds a
ListTemplateElement to this template. |
| Modifier and Type | Method and Description |
|---|---|
List<ListTemplateElement> |
ListTemplatePayload.getElements()
Gets the
ListTemplatePayload.elements. |
| Modifier and Type | Method and Description |
|---|---|
void |
ListTemplatePayload.addElement(ListTemplateElement element)
Adds the element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListTemplatePayload.setElements(List<ListTemplateElement> elements)
Sets the
ListTemplatePayload.elements. |
| Constructor and Description |
|---|
ListTemplatePayload(List<ListTemplateElement> elements)
Instantiates a new ListTemplatePayload.
|
ListTemplatePayload(List<ListTemplateElement> elements,
List<Button> buttons)
Instantiates a new ListTemplatePayload.
|
| Modifier and Type | Method and Description |
|---|---|
ListTemplateElement |
ListTemplateElement.addButton(Button button)
Adds the button.
|
ListTemplateElement |
ListTemplateElement.setButtons(List<Button> buttons)
Sets the buttons.
|
ListTemplateElement |
ListTemplateElement.setDefaultAction(DefaultAction defaultAction)
Sets the default action.
|
ListTemplateElement |
ListTemplateElement.setImageUrl(String imageUrl)
Sets the image url.
|
ListTemplateElement |
ListTemplateElement.setSubtitle(String subtitle)
Sets the subtitle.
|
ListTemplateElement |
ListTemplateElement.setTitle(String title)
Sets the title.
|
Copyright © 2016 BotMill. All rights reserved.