我使用此代码加入 WhatsApp 中的群组,但如果我已经在群组中,那么在打开后我会收到一个我已经在群组中的祝酒词。怎么开组不吐司怎么开组?
Intent intentWhatsAppGroup = new Intent(Intent.ACTION_VIEW); Uri uri =
Uri.parse("whatsapp://chat?code=***GroupID***");
intentWhatsAppGroup.setData(uri);
intentWhatsAppGroup.setPackage("com.whatsapp");
startActivity(intentWhatsAppGroup);