TTMSFNCCloudWhatsApp.SendContacts Method
Sends a single contact card to a recipient.
API unit family: TMSFNCCloudWhatsApp
Declaring type: TTMSFNCCloudWhatsApp
Inherited from: TTMSFNCCloudCustomWhatsApp
Overloads
Overload 1
Sends a single contact card to a recipient.
procedure SendContacts(ANumber: string; AContact: TTMSFNCCloudWhatsAppContact; AReplyToID: String = ''); overload;
void __fastcall SendContacts(System::UnicodeString ANumber, TTMSFNCCloudWhatsAppContact* AContact, System::UnicodeString AReplyToID = System::UnicodeString())/* overload */;
Parameters
| Name | Description |
|---|---|
ANumber |
Recipient phone number. |
AContact |
Contact card to send. |
AReplyToID |
Optional message identifier to reply to. |
Overload 2
Sends multiple contact cards to a recipient.
procedure SendContacts(ANumber: string; AContacts: Array of TTMSFNCCloudWhatsAppContact; AReplyToID: String = ''); overload;
void __fastcall SendContacts(System::UnicodeString ANumber, TTMSFNCCloudWhatsAppContact* *AContacts, const System::NativeInt AContacts_High, System::UnicodeString AReplyToID = System::UnicodeString())/* overload */;
Parameters
| Name | Description |
|---|---|
ANumber |
Recipient phone number. |
AContacts |
Contact cards to send. |
AReplyToID |
Optional message identifier to reply to. |