public static interface WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder
| Modifier and Type | Method and Description |
|---|---|
WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder |
addButton()
Add the previously configured button.
|
WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder |
id(String id)
The unique identifier of the button.
|
void |
send()
Perform the sending of the interactive message to the WhatsApp Adapter.
|
WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder |
title(String title)
The user visible text on the button.
|
WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder id(String id)
id - the button unique identifieraddButton()WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder title(String title)
title - the button contentaddButton()WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder addButton()
id(String) and title(String) operations or noopvoid send()