Skip to main content
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

FMX.TMSFNCWhatsAppReceiver.hppPascalC++
function ToJSON: string;
HIDESBASE System::UnicodeString __fastcall ToJSON();

Returns

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