[英]OneDrive - how to access files of users in my Business account using the Rest API?
[英]Using different phone numbers in whatsapp business api account
遵循本文档https://developers.facebook.com/docs/whatsapp/business-management-api/phone-numbers上有关whatsapp商业帐户的信息,一个帐户中可以有多个电话号码。 有人知道您在向客户发送消息时如何定义从哪个号码发送消息吗? api中没有关于发送消息的任何内容。
根据文档,您可以通过以下方式阅读电话号码及其whatsapp ID
curl -X GET \
'https://graph.facebook.com/v3.3/your-whatsapp-business-account-id/phone_numbers' \
-d 'access_token=your-access-token'
示例结果
{
"data": [
{
"verified_name": "Jasper's Market",
"display_phone_number": "+1 631-555-5555",
"id": "1906385232743451",
"quality_rating": "GREEN"
},
{
"verified_name": "Jasper's Ice Cream",
"display_phone_number": "+1 631-555-5556",
"id": "1913623884432103",
"quality_rating": "NA"
}
],
}
我希望在发送消息时像senderId字段一样。
WhatsApp商业API分为两部分-业务管理器(Facebook)上的WhatsApp帐户和WhatsApp商业API客户端(docker图像)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.