TTMSFNCCloudGoogleGmail.GetAttachmentPromise Method
Downloads the data of the specified attachment and returns a promise that resolves when the request completes.
API unit family: TMSFNCCloudGoogleGmail
Declaring type: TTMSFNCCloudGoogleGmail
Inherited from: TTMSFNCCustomCloudGoogleGmail
Syntax
function GetAttachmentPromise(AAttachment: TTMSFNCCloudGoogleGmailMessageAttachment): IPromise<TVoid>;
Parameters
| Name | Description |
|---|---|
AAttachment |
Attachment whose data is downloaded. |
Returns
A promise that resolves when the attachment data has been downloaded.