Android Whatsapp通过intent向特定组发送消息

Android Whatsapp通过intent向特定组发送消息,android,android-intent,whatsapp,Android,Android Intent,Whatsapp,我想知道是否有可能通过android intents向whatsapp中的特定组发送消息。我发现有一种方法可以向特定联系人发送消息(不过,只需打开与该特定联系人的聊天窗口,而无需键入消息) 在这个阶段,即使能够直接打开一个群组聊天窗口,对我来说也已经足够了。那么我该怎么做呢?我也有同样的问题,这是一个部分解决方案: Uri uri = Uri.parse("https://chat.whatsapp.com/uniqueId"); Intent i = new Intent(Intent.ACT

我想知道是否有可能通过android intents向whatsapp中的特定组发送消息。我发现有一种方法可以向特定联系人发送消息(不过,只需打开与该特定联系人的聊天窗口,而无需键入消息)


在这个阶段,即使能够直接打开一个群组聊天窗口,对我来说也已经足够了。那么我该怎么做呢?

我也有同样的问题,这是一个部分解决方案:

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:group>add participant>invite to group via link中的按链接加入组选项

此选项打开请求的WhatsApp组