TTMSFNCCloudWhatsAppContact.AddPhone Method
Adds a phone entry to the contact card.
API unit family: TMSFNCCloudWhatsApp
Declaring type: TTMSFNCCloudWhatsAppContact
Syntax
function AddPhone(ANumber: string = ''; AType: TTMSFNCCloudWhatsAppContactPhoneType = ptHome; AWhatsAppID: string = ''): TTMSFNCCloudWhatsAppContactPhone;
Parameters
| Name | Description |
|---|---|
ANumber |
Phone number for the new entry. |
AType |
Phone number role for the new entry. |
AWhatsAppID |
WhatsApp identifier associated with the phone number. |
Returns
The phone entry that was added to Phones.