gpt4 book ai didi

java - 以编程方式发送 Skype 消息

转载 作者:太空宇宙 更新时间:2023-11-04 11:43:25 25 4
gpt4 key购买 nike

我尝试使用 skype-java-api 和 Skype4Java 执行此操作,但在这两种情况下,消息都以发送状态排队并且永远不会发送。我发现桌面 API 现在已经瘫痪了。那么,有什么解决办法吗?

这是我的代码:

for(Chat c : Skype.getAllChats()) {
if(c.getId().contains("someUser")) {
Hehehehe hehe = new Hehehehe();
hehe.send(c);
break;
}
}

最佳答案

使用 skype-java-api 发送聊天消息没有解决方法

<小时/>

skype-java-api 正在使用的 Skype Desktop API 不再支持发送聊天消息:

Important: As communicated in this blog post, due to technology improvements we are making to the Skype experience, some features of the API will stop working with Skype for desktop. For example, delivery of chat messages using the API will cease to work.

来源:What is the Desktop API?

skype-java-api 问题跟踪器( 12 )上有多个关于此问题的票证,开发人员表示他将 stop supporting his project并且 skype-java-api 可以 no longer send chat messages :

So, what you are witnessing now is precisely what they already announced. Therefore, this is not an issue of the api, but simply the fact that skype is dropping down support for message delivery

关于java - 以编程方式发送 Skype 消息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42573212/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com