tClient= TwilioRestClient(sid, token)
此代码抛出异常:
twilio.base.obsolete.ObsoleteException: TwilioRestClient has been removed from this version of the library. Please refer to current documentation for guidance.
似乎在任何地方都找不到对此的引用,这在几天前就有效了!
使用 python 3.7 和 VS2017
最佳答案
使用
from twilio.rest import Client
tClient= Client(sid, token)
因为 TwilioRestClient 已被弃用。
关于python - TwilioRestClient 已删除,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51878976/