Table of Contents

TTMSFNCCloudWhatsAppMedia Class

Stores media metadata used for uploads, downloads, and media messages.

API unit family: TMSFNCCloudWhatsApp Inherits from: TPersistent

Syntax

TTMSFNCCloudWhatsAppMedia = class(TPersistent)

Properties

Name Description
Caption Gets or sets the caption used with supported media messages.
FileType Gets or sets the media type.
Filename Gets or sets the file name associated with the media.
ID Gets or sets the media identifier assigned by the API after upload.
Link Gets or sets an external link for media that is sent by URL.

Methods

Name Description
ToJSON Serializes the media metadata to a WhatsApp media JSON object.