Table of Contents

TTMSFNCCloudCustomWhatsApp.DownloadFile Method

Downloads a media file represented by a media object.

API unit family: TMSFNCCloudWhatsApp Declaring type: TTMSFNCCloudCustomWhatsApp

Overloads

Overload 1

Downloads a media file represented by a media object.

procedure DownloadFile(AMedia: TTMSFNCCloudWhatsAppMedia); 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.

procedure DownloadFile(AMediaID: String; AFileName: string); overload;

Parameters

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