Package com.restfb.types.whatsapp
Class WhatsAppMessageTemplateComponent
java.lang.Object
com.restfb.types.AbstractFacebookType
com.restfb.types.whatsapp.WhatsAppMessageTemplateComponent
- All Implemented Interfaces:
Serializable
Represents the
WhatsApp Business HSMWhats App HSMComponent Get, based on
Template Components
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
static class
static enum
static class
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionWhether a security recommendation is included in the body text.Button components to be used in the template.The number of minutes that the authentication code will expire in.The illustrative sample text for the parameter.Indicates media asset type for the component typegetText()
Component text.getType()
Component type.void
setAddSecurityRecommendation
(Boolean addSecurityRecommendation) Whether a security recommendation is included in the body text.void
Button components to be used in the template.void
setCodeExpirationMinutes
(Integer codeExpirationMinutes) The number of minutes that the authentication code will expire in.void
The illustrative sample text for the parameter.void
Indicates media asset type for the component typevoid
Component text.void
Component type.Methods inherited from class com.restfb.types.AbstractFacebookType
equals, hashCode, toString
-
Constructor Details
-
WhatsAppMessageTemplateComponent
public WhatsAppMessageTemplateComponent()
-
-
Method Details
-
getType
Component type. -
setType
Component type. -
getFormat
Indicates media asset type for the component type -
setFormat
Indicates media asset type for the component type -
getText
Component text. Required for components with type HEADER, BODY or FOOTER. -
setText
Component text. Required for components with type HEADER, BODY or FOOTER. -
getAddSecurityRecommendation
Whether a security recommendation is included in the body text. -
setAddSecurityRecommendation
Whether a security recommendation is included in the body text. -
getCodeExpirationMinutes
The number of minutes that the authentication code will expire in. (minimum 1, maximum 90) -
setCodeExpirationMinutes
The number of minutes that the authentication code will expire in. (minimum 1, maximum 90) -
getExample
The illustrative sample text for the parameter. Applies only if the component has parameters. -
setExample
The illustrative sample text for the parameter. Applies only if the component has parameters. -
getButtons
Button components to be used in the template. -
setButtons
Button components to be used in the template.
-