TTMSFNCCloudCustomWhatsApp.SendLocation Method
Sends a location message to a recipient.
API unit family: TMSFNCCloudWhatsApp
Declaring type: TTMSFNCCloudCustomWhatsApp
Syntax
procedure SendLocation(ANumber: String; ALatitude, ALongitude: Double; AName: string = ''; AAddress: string = ''; AReplyToID: String = '');
Parameters
| Name | Description |
|---|---|
ANumber |
Recipient phone number. |
ALatitude |
Latitude coordinate in decimal degrees. |
ALongitude |
Longitude coordinate in decimal degrees. |
AName |
Optional display name for the location. |
AAddress |
Optional human-readable address for the location. |
AReplyToID |
Optional message identifier to reply to. |