Table of Contents

TTMSFNCCloudWhatsAppTemplateComponent Class

Represents one component section (header, body, or button) of a WhatsApp template message.

API unit family: TMSFNCCloudWhatsApp Inherits from: TPersistent

Syntax

TTMSFNCCloudWhatsAppTemplateComponent = class(TPersistent)

Properties

Name Description
ButtonIndex Gets or sets the zero-based button index. Only used when ComponentType is tctButton.
ComponentType Gets or sets the component section type.
Parameters Gets or sets the parameter collection for this component.

Methods

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