I have an unknown number I need to start chat with it.
Intent intent = new Intent();
intent
.setAction(Intent.ACTION_SEND)
.putExtra(Intent.EXTRA_TEXT, "test")
.putExtra("jid", "999999999@s.whatsapp.net")
.setType("text/plain")
.setPackage("com.whatsapp");
activity.startActivity(intent);
Whatsapp openы a window where I have to select a contact.
Is it possible to open Whatsapp and start a chat with it?