[英]I am trying to update user identity of twilio user but not working
I am using Twilio and I want to update user identity but it is not updating, while other keys update is working fine like friendlyName, etc.我正在使用 Twilio,我想更新用户身份,但它没有更新,而其他密钥更新工作正常,如 friendlyName 等。
Can you please help me.你能帮我么。
Here is my code这是我的代码
$twilio->chat->v2->services(env('TWILIO_SERVICE_SID'))
->users('US2424637a5007483eb4bb781574be82aa')
->update([
"Identity" => "smith",//not working
"friendlyName" => "peter smith"
]
);
Thanks in Advance!提前致谢!
You cannot update IDENTITY of user as per Twilio, yes this is only method to update user resources it will work for other data but for IDENTITY it will not work.您不能按照 Twilio 更新用户的身份,是的,这只是更新用户资源的方法,它适用于其他数据,但对于身份,它不起作用。
You can update user data in Attributes.您可以在属性中更新用户数据。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.