Table of Contents

TTMSFNCCloudCustomWhatsApp.SendTextMessage Method

Sends a text message to a recipient.

API unit family: TMSFNCCloudWhatsApp Declaring type: 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.