Class WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
java.lang.Object
com.flowable.engage.external.system.whatsapp.WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
- All Implemented Interfaces:
WhatsAppInteractiveMessageBuilder.SectionBuilder
- Enclosing class:
- WhatsAppInteractiveMessageBuilderImpl
public static class WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
extends Object
implements WhatsAppInteractiveMessageBuilder.SectionBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl
protected final WhatsAppInteractiveMessageDto.Section
-
Constructor Summary
ConstructorsConstructorDescriptionSectionBuilderImpl
(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder) -
Method Summary
Modifier and TypeMethodDescriptionAdd the section and continue working on the interactive list message or perform sending message.Start creating a row in the section.The title of the section.
-
Field Details
-
listMessageBuilder
-
section
-
-
Constructor Details
-
SectionBuilderImpl
public SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder)
-
-
Method Details
-
title
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilder
The title of the section. This will be visible to the user. Mandatory if you have more than one section.- Specified by:
title
in interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder
- Parameters:
title
- the title of the section
-
createRow
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilder
Start creating a row in the section.- Specified by:
createRow
in interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder
-
addSection
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilder
Add the section and continue working on the interactive list message or perform sending message.- Specified by:
addSection
in interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder
- Returns:
- the
WhatsAppInteractiveMessageBuilder.ListMessageBuilder
responsible for sending the message
-