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
Fields Modifier and Type Field Description protected WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl
listMessageBuilder
protected WhatsAppInteractiveMessageDto.Section
section
-
Constructor Summary
Constructors Constructor Description SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsAppInteractiveMessageBuilder.ListMessageBuilder
addSection()
Add the section and continue working on the interactive list message or perform sending message.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
createRow()
Start creating a row in the section.WhatsAppInteractiveMessageBuilder.SectionBuilder
title(String title)
The title of the section.
-
-
-
Field Detail
-
listMessageBuilder
protected final WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder
-
section
protected final WhatsAppInteractiveMessageDto.Section section
-
-
Constructor Detail
-
SectionBuilderImpl
public SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder)
-
-
Method Detail
-
title
public WhatsAppInteractiveMessageBuilder.SectionBuilder title(String 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
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder createRow()
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilder
Start creating a row in the section.- Specified by:
createRow
in interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder
-
addSection
public WhatsAppInteractiveMessageBuilder.ListMessageBuilder 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
-
-