Linking URL for whatsapp business when both whatsapp and whatsapp business applications are installed

1.2k views Asked by At

I know that we can use following url to open whatsapp from my react native application

whatsapp://send?text=MyTextMessage&phone=MyPhoneNumber

Or we can use

https://api.whatsapp.com/send/?phone=MyPhoneNumber&text=MyTextMessage

This works fine when i have only installed a whatsapp application. Now along with whatsapp i have also installed WhatsApp Business application as well. But since after i installed whatsapp business as well my above code gives me option to make a choice between whatsapp or whatsapp business to open.

I don;t want choice rather from my application i want to open chat for phone number in url in either whatsapp or whatsapp business directly based on users selection.

0

There are 0 answers