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 classstatic enumstatic classstatic enumstatic classstatic 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.voidsetAddSecurityRecommendation(Boolean addSecurityRecommendation) Whether a security recommendation is included in the body text.voidButton components to be used in the template.voidsetCodeExpirationMinutes(Integer codeExpirationMinutes) The number of minutes that the authentication code will expire in.voidThe illustrative sample text for the parameter.voidIndicates media asset type for the component typevoidComponent text.voidComponent 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.
-