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.SectionBuilder
title
in interface WhatsAppInteractiveMessageBuilder.SectionBuilder
title
- the title of the sectionpublic WhatsAppInteractiveMessageBuilder.SectionRowBuilder createRow()
WhatsAppInteractiveMessageBuilder.SectionBuilder
createRow
in interface WhatsAppInteractiveMessageBuilder.SectionBuilder
public WhatsAppInteractiveMessageBuilder.ListMessageBuilder addSection()
WhatsAppInteractiveMessageBuilder.SectionBuilder
addSection
in interface WhatsAppInteractiveMessageBuilder.SectionBuilder
WhatsAppInteractiveMessageBuilder.ListMessageBuilder
responsible for sending the message