| Modifier and Type | Method and Description |
|---|---|
static void |
ThreadSettingsApi.setPersistentMenu(List<Button> buttons)
Deprecated.
Sets a Persistent Menu of buttons which is always available to the user.
|
| Modifier and Type | Method and Description |
|---|---|
Button |
ButtonSerializer.deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
| Modifier and Type | Method and Description |
|---|---|
com.google.gson.JsonElement |
ButtonSerializer.serialize(Button src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
CallToActionNested
The Class CallToAction.
|
| Modifier and Type | Method and Description |
|---|---|
List<Button> |
PersistentMenu.getCallToActions()
Gets the call to actions.
|
List<Button> |
CallToActionNested.getCallToActions()
Gets the call to actions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
PersistentMenu.addCallToAction(Button callToAction)
Adds the call to action.
|
void |
CallToActionNested.addCallToActionButton(Button postBackButton)
Adds the call to action button.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CallToActionNested.setCallToActionButtons(List<Button> callToActions)
Sets the call to action buttons.
|
void |
PersistentMenu.setCallToActions(List<Button> callToActions)
Sets the call to actions.
|
void |
CallToActionNested.setCallToActions(List<Button> callToActions)
Sets the call to actions.
|
| Constructor and Description |
|---|
PersistentMenu(String locale,
boolean composerInputDisabled,
List<Button> callToActions)
Instantiates a new persistent menu.
|
PersistentMenu(String locale,
List<Button> callToActions)
Instantiates a new persistent menu.
|
| Modifier and Type | Method and Description |
|---|---|
List<Button> |
CallToActionsRequest.getCallToActions()
Gets the
CallToActionsRequest.callToActions. |
| Modifier and Type | Method and Description |
|---|---|
void |
CallToActionsRequest.setCallToActions(List<Button> callToActions)
Sets the
CallToActionsRequest.callToActions. |
| Constructor and Description |
|---|
CallToActionsRequest(ThreadState threadState,
List<Button> callToActions)
Instantiates a new call to actions request.
|
| Modifier and Type | Method and Description |
|---|---|
static Button |
ButtonFactory.createBuyButton(String payload,
PaymentSummary paymentSummary)
Creates a new
BuyButton object. |
static Button |
ButtonFactory.createLoginButton(String url)
Creates a login button (which is based off from Url Button) which
redirects to an URL when clicked.
|
static Button |
ButtonFactory.createLogoutButton()
Creates a logout button which redirects to an URL when clicked.
|
static Button |
ButtonFactory.createPhoneNumberButton(String title,
String phoneNumber)
Creates a button with a phone number.
|
static Button |
ButtonFactory.createPostbackButton(String title,
String payload)
Creates a button which sends a payload back when clicked.
|
static Button |
ButtonFactory.createShareButton()
Creates a default action (which is based off from Url Button) which
redirects to an URL when clicked.
|
static Button |
ButtonFactory.createUrlButton(String title,
String url)
Creates a button which redirects to an URL when clicked.
|
static Button |
ButtonFactory.createUrlButton(String title,
String url,
WebViewHeightRatioType ratioType)
Creates a web view button.
|
| Modifier and Type | Method and Description |
|---|---|
ListTemplateElementBuilder |
ListTemplateElementBuilder.addButton(Button button)
Adds a button to the current
ListTemplateElement. |
ListTemplateBuilder |
ListTemplateBuilder.addButton(Button button)
Add a
Button to this template. |
GenericTemplateElementBuilder |
GenericTemplateElementBuilder.addButton(Button button)
Adds a button to the current
GenericTemplateElement. |
ButtonTemplateBuilder |
ButtonTemplateBuilder.addButton(Button button)
Adds a button to the current template.
|
| Modifier and Type | Method and Description |
|---|---|
List<Button> |
ListTemplatePayload.getButtons()
Gets the
ListTemplatePayload.buttons. |
List<Button> |
ButtonTemplatePayload.getButtons()
Gets the
ButtonTemplatePayload.buttons. |
| Modifier and Type | Method and Description |
|---|---|
void |
ListTemplatePayload.addButton(Button button)
Adds the button.
|
void |
ButtonTemplatePayload.addButton(Button button)
Adds the button.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListTemplatePayload.setButtons(List<Button> buttons)
Sets the
ListTemplatePayload.buttons. |
void |
ButtonTemplatePayload.setButtons(List<Button> buttons)
Sets the
ButtonTemplatePayload.buttons. |
| Constructor and Description |
|---|
ListTemplatePayload(List<ListTemplateElement> elements,
List<Button> buttons)
Instantiates a new ListTemplatePayload.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BuyButton
The Buy Button Class/Object.
|
class |
LoginButton
The Login Class/Object.
|
class |
LogoutButton
The Logout Button Class/Object.
|
class |
PostbackButton
The Class PostbackButton.
|
class |
ShareButton
The Share Button Class/Object.
|
class |
WebUrlButton
The WebUrlButton Class/Object.
|
| Modifier and Type | Method and Description |
|---|---|
List<Button> |
GenericTemplateElement.getButtons()
Gets the buttons.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericTemplateElement.addButton(Button button)
Adds the button.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GenericTemplateElement.setButtons(List<Button> buttons)
Sets the buttons.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAction
The Class DefaultAction.
|
| Modifier and Type | Method and Description |
|---|---|
List<Button> |
ListTemplateElement.getButtons()
Gets the buttons.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListTemplateElement.addButton(Button button)
Adds the button.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ListTemplateElement.setButtons(List<Button> buttons)
Sets the buttons.
|
Copyright © 2017 BotMill. All rights reserved.