Table of Contents

TTMSFNCCloudWhatsApp.SendTextMessage Method

Sends a text message to a recipient.

API unit family: TMSFNCCloudWhatsApp Declaring type: TTMSFNCCloudWhatsApp Inherited from: TTMSFNCCloudCustomWhatsApp

Syntax

procedure SendTextMessage(ANumber: String; AMessage: String; APreviewText: Boolean = false; AReplyToID: String = '');

Parameters

Name Description
ANumber Recipient phone number.
AMessage Message body to send.
APreviewText Set to True to request link previews for URLs in the message body.
AReplyToID Optional message identifier to reply to.