public static class WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl extends Object implements WhatsAppInteractiveMessageBuilder.SectionBuilder
| Modifier and Type | Field and Description |
|---|---|
protected WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl |
listMessageBuilder |
protected WhatsAppInteractiveMessageDto.Section |
section |
| Constructor and Description |
|---|
SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder) |
| Modifier and Type | Method and 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.
|
protected final WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder
protected final WhatsAppInteractiveMessageDto.Section section
public SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder)
public WhatsAppInteractiveMessageBuilder.SectionBuilder title(String title)
WhatsAppInteractiveMessageBuilder.SectionBuildertitle in interface WhatsAppInteractiveMessageBuilder.SectionBuildertitle - the title of the sectionpublic WhatsAppInteractiveMessageBuilder.SectionRowBuilder createRow()
WhatsAppInteractiveMessageBuilder.SectionBuildercreateRow in interface WhatsAppInteractiveMessageBuilder.SectionBuilderpublic WhatsAppInteractiveMessageBuilder.ListMessageBuilder addSection()
WhatsAppInteractiveMessageBuilder.SectionBuilderaddSection in interface WhatsAppInteractiveMessageBuilder.SectionBuilderWhatsAppInteractiveMessageBuilder.ListMessageBuilder responsible for sending the message