Module it.auties.whatsappweb4j
Class HighlyStructuredMessage
java.lang.Object
it.auties.whatsapp.model.message.button.HighlyStructuredMessage
- All Implemented Interfaces:
it.auties.protobuf.base.ProtobufMessage
,ButtonMessage
,Message
A model class that represents a message that contains a highly structured message inside. Not
really clear how this could be used, contributions are welcomed.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Constructor Summary
ConstructorsConstructorDescriptionHighlyStructuredMessage
(String namespace, String elementName, List<String> params, String fallbackLg, String fallbackLc, List<BusinessLocalizableParameter> localizableParameters, String deterministicLg, String deterministicLc, TemplateMessage templateMessage) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
DeterministicLcdeterministicLc
(String deterministicLc) DeterministicLcDeterministicLgdeterministicLg
(String deterministicLg) DeterministicLgElement NameelementName
(String elementName) Element Nameboolean
FallbackLcfallbackLc
(String fallbackLc) FallbackLcFallbackLgfallbackLg
(String fallbackLg) FallbackLgint
hashCode()
Localizable ParamslocalizableParameters
(List<BusinessLocalizableParameter> localizableParameters) Localizable ParamsNamespaceNamespaceparams()
ParamsParamsHydrated messagetemplateMessage
(TemplateMessage templateMessage) Hydrated messagetoString()
type()
Return message typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface it.auties.whatsapp.model.message.model.ButtonMessage
category
Methods inherited from interface it.auties.protobuf.base.ProtobufMessage
isValueBased, toValue
-
Constructor Details
-
HighlyStructuredMessage
-
HighlyStructuredMessage
public HighlyStructuredMessage()
-
-
Method Details
-
type
Description copied from interface:Message
Return message type -
builder
-
namespace
Namespace -
elementName
Element Name -
params
Params -
fallbackLg
FallbackLg -
fallbackLc
FallbackLc -
localizableParameters
Localizable Params -
deterministicLg
DeterministicLg -
deterministicLc
DeterministicLc -
templateMessage
Hydrated message -
namespace
Namespace- Returns:
this
.
-
elementName
Element Name- Returns:
this
.
-
params
Params- Returns:
this
.
-
fallbackLg
FallbackLg- Returns:
this
.
-
fallbackLc
FallbackLc- Returns:
this
.
-
localizableParameters
public HighlyStructuredMessage localizableParameters(List<BusinessLocalizableParameter> localizableParameters) Localizable Params- Returns:
this
.
-
deterministicLg
DeterministicLg- Returns:
this
.
-
deterministicLc
DeterministicLc- Returns:
this
.
-
templateMessage
Hydrated message- Returns:
this
.
-
equals
-
hashCode
public int hashCode() -
toString
-