Twilio - 创建一个对话服务或一个对话用户 node.js [英] Twilio - create a conversation service or a conversation user the node.js
问题描述
我正在尝试在 Twilio 中创建一个新的对话服务资源并向其添加一个新的对话客户端.我正在尝试 node.js 示例,但我没有文档鞋的选项.
I am trying to create a new conversation service resource in Twilio and to add a new conversation client to it. I am trying the node.js example but I don't have the option that the documentation shoes.
所以为了创建一个新的对话服务,我找到了这个文档:
So for creating a new conversation Service I found this document:
但是好像不能创建会话Service,也不能创建用户资源.我没有自动完成功能,即使我尝试忽略 IDE 警告并对命令进行硬编码,我也会收到错误 =无法读取未定义的创建".你可以看到我在服务"下得到的标记.单词.这也发生在用户"一词下的用户资源中.所有其他命令(如创建对话)都可用.
But it seems that I can't create a conversation Service and can't create a user resource. I don't have an autocompletion for it and even if I try to ignore the IDE warning and to hardcode the command I am getting the error = "can't read create of undefined". You can see the marker that I got under the "services" word. This is also happening for user resource under the word "users". All the other commands (like create a conversation) are available.
推荐答案
Twilio 开发人员布道者在这里.
Twilio developer evangelist here.
我刚刚测试了最新版本的 Twilio Node 包,即 3.57.0 到今天.Twilio 库每 2 周发布一次,具有新功能.我能够拨打电话以创建新的对话服务.
I just tested with the latest version of the Twilio Node package, which is 3.57.0 as of today. Twilio libraries are released every 2 weeks with new features. I was able to make the call to create a new Conversations service.
我会尝试升级 Twilio 版本,看看会发生什么.
I would try upgrading the Twilio version and see what happens.
这篇关于Twilio - 创建一个对话服务或一个对话用户 node.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!