Table of Contents

TTMSFNCWhatsAppReceiverMessage.ToJSON Method

Serializes the message to its JSON representation based on the current message type.

API unit family: TMSFNCWhatsAppReceiver Declaring type: TTMSFNCWhatsAppReceiverMessage

Syntax

function ToJSON: string;

Returns

A JSON object string containing the type tag and the matching typed payload.