Whatsapp sends a message to a specific group through intent

I was wondering if it is possible to send a message to a specific group in whatsapp via Android intent. I found that there is a way to send a message to a specific contact (however, this only opens a chat window with that specific contact without entering a message).

Even the ability to open a group chat window directly will be enough for me at this point. So how do I do this?

+4
source share
2 answers

I had the same problem, this is a partial solution:

Uri uri = Uri.parse("https://chat.whatsapp.com/uniqueId");
Intent i = new Intent(Intent.ACTION_VIEW, uri);
startActivity(Intent.createChooser(i, ""));

chat.whatsapp.com/uniqueId - whatsapp: group > a >

WhatsApp.

+2

WhatsApp Android? Robby

0

All Articles