Module it.auties.whatsapp4j
Class InteractiveMessage.InteractiveMessageBuilder
java.lang.Object
it.auties.whatsapp.model.message.button.InteractiveMessage.InteractiveMessageBuilder
- Enclosing class:
- InteractiveMessage
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate InteractiveBody
private InteractiveCollection
private InteractiveNativeFlow
private InteractiveShop
private ContextInfo
private InteractiveFooter
private InteractiveHeader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody
(InteractiveBody body) Product bodybuild()
contentCollection
(InteractiveCollection contentCollection) Collection messagecontentNativeFlow
(InteractiveNativeFlow contentNativeFlow) Native flow messagecontentShop
(InteractiveShop contentShop) Shop store messagecontextInfo
(ContextInfo contextInfo) The context info of this messagefooter
(InteractiveFooter footer) Product footerheader
(InteractiveHeader header) Product headertoString()
-
Field Details
-
header
-
body
-
contentShop
-
contentCollection
-
contentNativeFlow
-
contextInfo
-
-
Constructor Details
-
InteractiveMessageBuilder
InteractiveMessageBuilder()
-
-
Method Details
-
header
Product header- Returns:
this
.
-
body
Product body- Returns:
this
.
-
contentShop
Shop store message- Returns:
this
.
-
contentCollection
public InteractiveMessage.InteractiveMessageBuilder contentCollection(InteractiveCollection contentCollection) Collection message- Returns:
this
.
-
contentNativeFlow
public InteractiveMessage.InteractiveMessageBuilder contentNativeFlow(InteractiveNativeFlow contentNativeFlow) Native flow message- Returns:
this
.
-
contextInfo
The context info of this message- Returns:
this
.
-
build
-
toString
-