Skip to main content
Version: 4.0.0

📲 Call to Action Button

Send a call-to-action button.

await whatsapp.sendCallToActionButton(
phoneNumber: 'RECIPIENT_NUMBER',
headerText: "HEADER",
bodyText: "Please have a look to my website.",
footerText:"FOOTER",
buttonText: "Open",
actionUrl: "https://rohitchouhan.com",
);
paramtyperequireddescription
phoneNumberStringyesPhone number with country code.
headerTextStringnoHeader Text
bodyTextStringyesBody Text
footerTextStringnoFooter Text
buttonTextStringyesButton Text
actionUrlStringyesWeb Page Link