Package com.restfb.types.whatsapp
Class WABAMessageTemplate
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.FacebookType
com.restfb.types.NamedFacebookType
com.restfb.types.whatsapp.WABAMessageTemplate
- All Implemented Interfaces:
Serializable
Represents the WhatsApp
Message Template type
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.restfb.types.FacebookType
FacebookType.Metadata
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe category type of the message templateMessage template string with placeholders for parametersThe languages (and locale) of the element translationThe timestamp indicating the last time the message template was updatedString as a query parameter to filter message templates name or content containing this variableThe reason the message template was rejectedThe status of the message templatevoid
setCategory
(String category) The category type of the message templatevoid
setComponents
(List<WhatsAppMessageTemplateComponent> components) void
setContent
(String content) Message template string with placeholders for parametersvoid
setLanguage
(List<String> language) The languages (and locale) of the element translationvoid
setLastUpdatedTime
(Date lastUpdatedTime) The timestamp indicating the last time the message template was updatedvoid
setNameOrContent
(String nameOrContent) String as a query parameter to filter message templates name or content containing this variablevoid
setQualityScore
(WhatsAppHSMQualityScoreShape qualityScore) void
setRejectedReason
(String rejectedReason) The reason the message template was rejectedvoid
The status of the message templateMethods inherited from class com.restfb.types.NamedFacebookType
getName, setName
Methods inherited from class com.restfb.types.FacebookType
getId, getMetadata, getType, setId, setMetadata, setType
Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
WABAMessageTemplate
public WABAMessageTemplate()
-
-
Method Details
-
getCategory
The category type of the message template -
setCategory
The category type of the message template -
getContent
Message template string with placeholders for parameters -
setContent
Message template string with placeholders for parameters -
getComponents
-
setComponents
-
getLanguage
The languages (and locale) of the element translation -
setLanguage
The languages (and locale) of the element translation -
getLastUpdatedTime
The timestamp indicating the last time the message template was updated -
setLastUpdatedTime
The timestamp indicating the last time the message template was updated -
getRejectedReason
The reason the message template was rejected -
setRejectedReason
The reason the message template was rejected -
getStatus
The status of the message template -
setStatus
The status of the message template -
getNameOrContent
String as a query parameter to filter message templates name or content containing this variable -
setNameOrContent
String as a query parameter to filter message templates name or content containing this variable -
getQualityScore
-
setQualityScore
-