SendMessageWithFlow

Sends a message with an associated interactive flow to the specified contact's phone number.

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

String headerText: The text to be displayed in the header of the message. If null or empty, no header will be included.

String footerText: The text to be displayed in the footer of the message.

String cta: The call-to-action text for the flow.

String flowToken: The token associated with the flow, used for authentication or identification.

String flowId: The identifier of the flow to be triggered.

String screen: The initial screen or step of the flow to be displayed.

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

WpResponse response = SendMessageWithFlow(message, headerText, footerText, cta, flowToken, flowId, screen);

Overloads of this function are available in BaseWhatsAppDialog class.

Last updated