Is there any way to send message to group using HTMl or JS
<a href="whatsapp://send?abid=username&text=HeyThere!">whatsapp</a>
I tried doing with this but it didn't work.
Is there any way to send message to group using HTMl or JS
<a href="whatsapp://send?abid=username&text=HeyThere!">whatsapp</a>
I tried doing with this but it didn't work.
I think there is only option to contact single person through this format:
<a href="https://api.whatsapp.com/send?phone=WhatsAppPhoneNumber&text=urlencodedtext"></a>
WhatsApp for obvious reasons does not allow you to automatically send a whatsapp message. What you can do is use a https://wa.me
link to start the whatsapp application with share message dialog where your user can select who to share the message with:
<a href="https://wa.me/?text=Your%20Text%20Here">whatsapp</a>
It will open a share dialog like this (disregard the red box, I took the image from Google to demonstrate).
Also when you click this link, it will try to open the mobile app first. But if your user is on a desktop, it will try to open the Whatsapp Web interface.