Skip to main content
Table of Contents

TTMSFNCWhatsAppReceiverMedia.ToJSON Method

Serializes the media attachment to its JSON representation.

API unit family: TMSFNCWhatsAppReceiver Declaring type: TTMSFNCWhatsAppReceiverMedia

Syntax

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

Returns

A JSON object string describing the attachment, including the filename for documents and a caption when applicable.