Android send message to multiple Whatsapp contacts

I have an application that today displays the contacts of the agenda that have whatsapp, and there it is possible to excrete a message in this application and send to whatsapp users, but when you call whatsapp goes without any selected contact, then there in whatsapp is made the selection of who will be sent the message. Would you like to be able to make the selection in my app, and already send to whatsapp the selected contacts, has anyone done that?

Currently this part of the code is like this?

Intent sendIntent = new Intent(); sendIntent.setAction(Intent.ACTION_SEND); sendIntent.setPackage("com.whatsapp"); sendIntent.putExtra(Intent.EXTRA_TEXT, "This is my text to send."); sendIntent.setType("text/plain"); startActivity(sendIntent);

Remembering that it should be done firing for multiple contacts, for one contact I have a part of the app that does, but I need to make the firing for multiple contacts, it would be on the whatsapp screen that opens just come already with the selected contacts.

Author: Leonardo Patricio, 2017-03-31

1 answers

To date, WhatsApp has not yet offered any support for sharing any content to multiple contacts simultaneously. On your FAQ page , it mentions the steps needed to share with a single person (which should be basically what you did), but not several.

 2
Author: viana, 2017-03-31 18:30:18