Module it.auties.cobalt
Class InteractiveMessageBuilder
java.lang.Object
it.auties.whatsapp.model.message.button.InteractiveMessageBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Optional<InteractiveBody> private Optional<InteractiveCollection> private Optional<InteractiveNativeFlow> private Optional<InteractiveShop> private Optional<ContextInfo> private Optional<InteractiveFooter> private Optional<InteractiveHeader> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody(InteractiveBody body) body(Optional<InteractiveBody> body) build()contentCollection(InteractiveCollection contentCollection) contentCollection(Optional<InteractiveCollection> contentCollection) contentNativeFlow(InteractiveNativeFlow contentNativeFlow) contentNativeFlow(Optional<InteractiveNativeFlow> contentNativeFlow) contentShop(InteractiveShop contentShop) contentShop(Optional<InteractiveShop> contentShop) contextInfo(ContextInfo contextInfo) contextInfo(Optional<ContextInfo> contextInfo) footer(InteractiveFooter footer) footer(Optional<InteractiveFooter> footer) header(InteractiveHeader header) header(Optional<InteractiveHeader> header)
-
Field Details
-
header
-
body
-
contentShop
-
contentCollection
-
contentNativeFlow
-
contextInfo
-
-
Constructor Details
-
InteractiveMessageBuilder
public InteractiveMessageBuilder()
-
-
Method Details
-
header
-
header
-
body
-
body
-
contentShop
-
contentShop
-
contentCollection
public InteractiveMessageBuilder contentCollection(Optional<InteractiveCollection> contentCollection) -
contentCollection
-
contentNativeFlow
public InteractiveMessageBuilder contentNativeFlow(Optional<InteractiveNativeFlow> contentNativeFlow) -
contentNativeFlow
-
contextInfo
-
contextInfo
-
build
-