Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Skype SDK 对话控件来显示聊天和通话。除了留下对话外,一切正常。我厌倦了离开谈话conversation.leave。但我得到的只是一个错误,表明此功能已禁用。在某处我还读到使用对话控制时需要禁用此功能。所以我试图离开谈话conversation.chatService.stop。但在执行此功能后,似乎什么也没发生,我仍然可以使用对话控制与那个人聊天。
conversation.leave
conversation.chatService.stop
问题的解决方案是使用conversationsManager.conversations.remove(conversation).
conversationsManager.conversations.remove(conversation)
https://ucwa.skype.com/reference/WebSDK/interfaces/_s4b_sdk_d_.jcafe.conversationsmanager.html#conversations