SendMessage

Sends a message to the specified contact's phone number.

String message: The content of the message to be sent.

Bool isPreviewUrl: Indicates whether the URL in the message should be previewed (if applicable).

WpResponse response: An object containing the response from the messaging service.

Example usage:

WpResponse response = SendMessage(message, Contact.Phone, isPreviewUrl);

Overloads of this function are available in BaseWhatsAppDialog class.

Last updated