列出 Twilio 电话号码时识别 Whatsapp 电话号码 [英] Identify Whatsapp phone number when listing Twilio phone number
问题描述
使用 Twilio REST API 列出我们的 Twilio 电话号码时 (https://www.twilio.com/docs/sms/services/api/phonenumber-resource),Whatsapp 电话号码与任何其他电话号码一样.
When listing our Twilio phone numbers using the Twilio REST API (https://www.twilio.com/docs/sms/services/api/phonenumber-resource), a Whatsapp phone number appears as any other phone number.
Whatsapp 似乎没有特定的功能.我们只能看到语音、短信、彩信和传真功能:
There doesn't seem to be a specific capability for Whatsapp. We can only see voice, sms, mms and fax capabilities:
"capabilities": {
"voice": true,
"sms": false,
"mms": false,
"fax": true
},
在使用 Twilio REST API 时,我们可以使用哪些信息将电话号码识别为 Whatsapp 电话号码?
What info can we use to identify a phone number as a Whatsapp phone number when using the Twilio REST API?
我们尝试使用 Node Twilio 模块(v2.9.2 和 v3.33.2).
We tried using the Node Twilio module (v2.9.2 and v3.33.2).
谢谢,
推荐答案
Twilio 开发人员布道者在这里.
Twilio developer evangelist here.
很抱歉,目前无法确定您帐户中的某个号码是否已启用 WhatsApp.我正在查看渠道和电话号码团队是否可以协作以在 API 中启用此信息,但目前尚未连接.
I'm sorry to say that there is not currently a way to determine if a number in your account is enabled for WhatsApp. I am seeing if the channels and phone numbers team can collaborate to enable this information in the API, but it is not connected right now.
这篇关于列出 Twilio 电话号码时识别 Whatsapp 电话号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!