Trigger a action on click whatsapp button

Is there any way to trigger an action (for example, through a callback function) when the client actually clicks the button to send a message on WhatsApp?

Thanks!

Hi,

Sorry, we do not have a trigger/callback specific to the WhatsApp button.

If you are using our widget, there is an “on complete” javascript trigger. Please refer https://developers.collect.chat/#/callbacks for more details.

I’m already using “on complete” js trigger.
I will try another way to trigger, a function, on click Whatsapp button.

Thanks.