Interface WhatsAppInteractiveMessageBuilder.SectionBuilder
-
- All Known Implementing Classes:
WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
- Enclosing interface:
- WhatsAppInteractiveMessageBuilder
public static interface WhatsAppInteractiveMessageBuilder.SectionBuilder
Builder for building a list message section.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
title
WhatsAppInteractiveMessageBuilder.SectionBuilder title(String title)
The title of the section. This will be visible to the user. Mandatory if you have more than one section.- Parameters:
title
- the title of the section
-
createRow
WhatsAppInteractiveMessageBuilder.SectionRowBuilder createRow()
Start creating a row in the section.
-
addSection
WhatsAppInteractiveMessageBuilder.ListMessageBuilder addSection()
Add the section and continue working on the interactive list message or perform sending message.- Returns:
- the
WhatsAppInteractiveMessageBuilder.ListMessageBuilder
responsible for sending the message
-
-