我目前正在为我正在进行的项目探索 WhatsApp Business API 的功能。我想知道 WhatsApp Business API 是否支持向 WhatsApp 群组发送消息。我已阅读文档,但找不到有关此特定功能的明确答案。
有 WhatsApp Business API 使用经验的人能否澄清一下它是否支持向 WhatsApp 群组发送消息?如果是这样,我是否应该注意任何具体限制或要求?
POST = https://graph.facebook.com/{{Version}}/{{Phone-Number-ID}}/messages
Body = {
"messaging_product": "whatsapp",
"recipient_type": "individual",
"to": "{{Recipient-Phone-Number}}",
"type": "document",
"document": {
"link": "https://test.pdf",
"filename": "Test"
}
}
我找到了这个 github 存储库,这意味着它本身不支持。
通过 Twilio 的 Conversations API,您可以在 WhatsApp 中实现群聊,这是 WhatsApp API 本身不提供的功能。通过此代码示例,您可以实现最多 50 人的多方聊天,用户可以选择加入并通过单个 Twilio WhatsApp 发件人(企业资料)进行通信。