拨入会议时添加参与者标签 (Twilio) [英] Adding a participant label when dialling in conference (Twilio)

查看:36
本文介绍了拨入会议时添加参与者标签 (Twilio)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

conference.participants.create(from_=caller_id, to=to_number, label='customer')

这段代码返回错误

TypeError: create() 得到了一个意外的关键字参数 'label'

TypeError: create() got an unexpected keyword argument 'label'

我阅读了 https://www.twilio.com/docs/voice/api/conference-participant-resource 那个标签是参与者的参数之一.

I read from https://www.twilio.com/docs/voice/api/conference-participant-resource that label is one of the parameters of participant.

推荐答案

当我升级 Python Twilio 帮助程序库时,它对我有用:

When I upgraded the Python Twilio helper library, it worked for me:

成功:成功安装 twilio-6.45.3

Worked: Successfully installed twilio-6.45.3

不起作用:找到现有安装:twilio 6.39.0

Didn't Work: Found existing installation: twilio 6.39.0

pip install --upgrade twilio

看起来要添加到这里:

https:///github.com/twilio/twilio-python/blob/main/CHANGES.md#2020-06-24-version-6430

这篇关于拨入会议时添加参与者标签 (Twilio)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆