TTMSFNCCloudWhatsApp.CreateContact Method
Creates a contact card with basic name, phone, and email values.
API unit family: TMSFNCCloudWhatsApp
Declaring type: TTMSFNCCloudWhatsApp
Inherited from: TTMSFNCCloudCustomWhatsApp
Syntax
function CreateContact(AFirstName, ALastName: String; ANumber: String = ''; AEmail: String = ''): TTMSFNCCloudWhatsAppContact; overload;
Parameters
| Name | Description |
|---|---|
AFirstName |
First name for the contact. |
ALastName |
Last name for the contact. |
ANumber |
Optional phone number to add to the contact. |
AEmail |
Optional email address to add to the contact. |
Returns
A new contact instance. The caller owns the returned object.