Class WhatsAppInteractiveMessageBuilderImpl.ButtonMessageBuilderImpl
java.lang.Object
com.flowable.engage.external.system.whatsapp.WhatsAppInteractiveMessageBuilderImpl.ButtonMessageBuilderImpl
- All Implemented Interfaces:
WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder
- Enclosing class:
- WhatsAppInteractiveMessageBuilderImpl
public class WhatsAppInteractiveMessageBuilderImpl.ButtonMessageBuilderImpl
extends Object
implements WhatsAppInteractiveMessageBuilder.ButtonMessageBuilder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd the previously configured button.The unique identifier of the button.voidsend()Perform the sending of the interactive message to the WhatsApp Adapter.The user visible text on the button.
-
Field Details
-
action
-
button
-
-
Constructor Details
-
ButtonMessageBuilderImpl
-
-
Method Details
-
id
Description copied from interface:WhatsAppInteractiveMessageBuilder.ButtonMessageBuilderThe unique identifier of the button. This will be returned by WhatsApp when the user clicks on the button.- Specified by:
idin interfaceWhatsAppInteractiveMessageBuilder.ButtonMessageBuilder- Parameters:
id- the button unique identifier- See Also:
-
title
Description copied from interface:WhatsAppInteractiveMessageBuilder.ButtonMessageBuilderThe user visible text on the button.- Specified by:
titlein interfaceWhatsAppInteractiveMessageBuilder.ButtonMessageBuilder- Parameters:
title- the button content- See Also:
-
addButton
Description copied from interface:WhatsAppInteractiveMessageBuilder.ButtonMessageBuilderAdd the previously configured button. If not invoked then theWhatsAppInteractiveMessageBuilder.ButtonMessageBuilder.id(String)andWhatsAppInteractiveMessageBuilder.ButtonMessageBuilder.title(String)operations or noop- Specified by:
addButtonin interfaceWhatsAppInteractiveMessageBuilder.ButtonMessageBuilder
-
send
public void send()Description copied from interface:WhatsAppInteractiveMessageBuilder.ButtonMessageBuilderPerform the sending of the interactive message to the WhatsApp Adapter.- Specified by:
sendin interfaceWhatsAppInteractiveMessageBuilder.ButtonMessageBuilder
-