Skip to main content
Table of Contents

TTMSFNCCloudWhatsApp.DownloadFile Method

Downloads a media file represented by a media object.

API unit family: TMSFNCCloudWhatsApp Declaring type: TTMSFNCCloudWhatsApp Inherited from: TTMSFNCCloudCustomWhatsApp

Overloads

Overload 1

Downloads a media file represented by a media object.

FMX.TMSFNCCloudWhatsApp.hppPascalC++
procedure DownloadFile(AMedia: TTMSFNCCloudWhatsAppMedia); overload;
void __fastcall DownloadFile(TTMSFNCCloudWhatsAppMedia* AMedia)/* overload */;

Parameters

Name Description
AMedia Media object whose identifier and file name are used for the download.

Overload 2

Downloads a media file by media identifier.

FMX.TMSFNCCloudWhatsApp.hppPascalC++
procedure DownloadFile(AMediaID: String; AFileName: string); overload;
void __fastcall DownloadFile(System::UnicodeString AMediaID, System::UnicodeString AFileName)/* overload */;

Parameters

Name Description
AMediaID Media identifier assigned by the API.
AFileName File name associated with the downloaded content.