Click to Chat : How to open WhatsApp chat from website button

If you want to have a “chat” button on your website which on Android mobile will directly start the Whatsapp application and send a predefined message to predefined contact number, just copy paste the below lines where ever you need.

a href="https://api.whatsapp.com/send?phone=91xxxxxxxxxx&text=Hi%20we%20need%20help%20regarding%20something" class="applyinfo-btn">start chat /a

For India, it will be 91 as country code in “phone=”, you can check your country code from https://faq.whatsapp.com/en/general/21016748

READ  Brackets: An Editor of Live Html Coding

Refer more at https://faq.whatsapp.com/en/general/26000030

Leave a Reply

Your email address will not be published. Required fields are marked *