How to call a whatsapp chat here?
I want to call a WhatsApp Chat in the ->actions() function with the data and clients I chose in my select. Is this somehow possible?
This is from the Docs
Create your own link with a pre-filled message
The pre-filled message will automatically appear in the text field of a chat. Use https://wa.me/whatsappphonenumber?text=urlencodedtext where whatsappphonenumber is a full phone number in international format and urlencodedtext is the URL-encoded pre-filled message.
Example: https://wa.me/1XXXXXXXXXX?text=I'm%20interested%20in%20your%20car%20for%20sale
To create a link with just a pre-filled message, use https://wa.me/?text=urlencodedtext
Example: https://wa.me/?text=I'm%20inquiring%20about%20the%20apartment%20listing
After clicking on the link, you’ll be shown a list of contacts you can send your message to.
WhatsApp.com
Share on WhatsApp
WhatsApp Messenger: More than 2 billion people
in over 180 countries use WhatsApp to stay in touch with friends and
family, anytime and anywhere. WhatsApp is free and offers simple, secure,
reliable messaging and calling, available on phones all over the world.
WhatsApp.com
Share on WhatsApp
WhatsApp Messenger: More than 2 billion people
in over 180 countries use WhatsApp to stay in touch with friends and
family, anytime and anywhere. WhatsApp is free and offers simple, secure,
reliable messaging and calling, available on phones all over the world.
5 Replies
wa.me is a link. You could open a new browser tab, but I think your select shouldn't be multiple
thanks for your answer! But I want to send the message to different users, so I need a multiple select
wa.me is simply a link to initiate a conversation on WhatsApp. I think you're looking to integrate WhatsApp messaging via API and this would be a different approach..
ok thank you so much
I will look into it
If you need to send a message to multiple users you should look into the WhatsApp Message API