![](/img/trans.png)
[英]Hi i am facing problem to send whatsapp message to a particular group using intent
[英]Whatsapp send message to particular group via intent
我想知道它可以通过android意图向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> add participant> invite to group via group
此选项可打开请求的WhatsApp组。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.