Interface WhatsAppInteractiveMessageBuilder.SectionRowBuilder
-
- All Known Implementing Classes:
WhatsAppInteractiveMessageBuilderImpl.SectionRowBuilderImpl
- Enclosing interface:
- WhatsAppInteractiveMessageBuilder
public static interface WhatsAppInteractiveMessageBuilder.SectionRowBuilder
Builder for building a row in a section for list interactive messages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WhatsAppInteractiveMessageBuilder.SectionBuilder
addRow()
Add the previously configured row.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
description(String description)
The user visible description of the row.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
id(String id)
The unique identifier of the row.WhatsAppInteractiveMessageBuilder.SectionRowBuilder
title(String title)
The user visible text in the row.
-
-
-
Method Detail
-
id
WhatsAppInteractiveMessageBuilder.SectionRowBuilder id(String id)
The unique identifier of the row. This will be returned by WhatsApp when the user selects this row.- Parameters:
id
- the row unique identifier- See Also:
addRow()
-
title
WhatsAppInteractiveMessageBuilder.SectionRowBuilder title(String title)
The user visible text in the row.- Parameters:
title
- the row content- See Also:
addRow()
-
description
WhatsAppInteractiveMessageBuilder.SectionRowBuilder description(String description)
The user visible description of the row.- Parameters:
description
- the row description- See Also:
addRow()
-
addRow
WhatsAppInteractiveMessageBuilder.SectionBuilder addRow()
Add the previously configured row. If not invoked then the rest of theWhatsAppInteractiveMessageBuilder.SectionRowBuilder
operations are a noop.
-
-