Table of Contents

TTMSFNCCloudWhatsAppTemplateParameter Class

Holds a single parameter value for a WhatsApp template component.

API unit family: TMSFNCCloudWhatsApp Inherits from: TPersistent

Syntax

TTMSFNCCloudWhatsAppTemplateParameter = class(TPersistent)

Properties

Name Description
CurrencyAmount1000 Gets or sets the currency amount in thousandths of the currency unit (e.g. 10050 represents 10.05).
CurrencyCode Gets or sets the ISO 4217 currency code used when ParamType is tptCurrency.
CurrencyFallback Gets or sets the plain-text fallback shown when currency formatting is unavailable.
DateTimeFallback Gets or sets the plain-text fallback shown when date/time formatting is unavailable.
MediaID Gets or sets the API-assigned media identifier used for image, document, or video parameters.
MediaLink Gets or sets the public URL used for image, document, or video parameters when no media identifier is available.
ParamType Gets or sets the parameter type, which determines which fields are serialized.
Payload Gets or sets the developer-defined payload returned when a quick-reply button is tapped.
Text Gets or sets the text value used when ParamType is tptText.

Methods

Name Description
ToJSON Serializes the parameter to a WhatsApp template parameter JSON object.