[英]Hi i am facing problem to send whatsapp message to a particular group using intent
嗨,我遇到了使用Intent向特定组发送Whats App消息的问题。 我可以使用intent将whats应用消息发送给特定的聊天联系人。 但是我无法发送到whats应用程序组。 我也尝试过使用Whats App API并传递Whats App Group ID。 但它会导航以邀请联系人链接,如果联系人已经在组中,则表明您已经是开发人员
要将消息发送到特定的组,您需要组共享该链接, 请参见 ,使用该链接并尝试以下代码
Uri uri = Uri.parse("https://chat.whatsapp.com/uniqueId");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(Intent.createChooser(intent, ""));
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.