简体   繁体   English

在Java中使用API​​在Skype中添加联系人/朋友

[英]Add contact/friend in skype using api in Java

I want to add new contact to a skype account using java with skype api. 我想使用带有Skype API的Java将新联系人添加到Skype帐户。 Is there any java package available to use for the objective? 是否有任何Java软件包可用于目标? Also if there is any sample code available for it please share the link Thanks in advance 另外,如果有任何可用的示例代码,请共享链接。

    public void sendFriendRequest(String skypeId) throws SkypeException {
    Skype.getContactList().addFriend(skypeId, "Confirmation message here, etc! :D");
}

it should be on line 198 on - https://github.com/taksan/skype-java-api/blob/master/src/main/java/com/skype/ContactList.java Just realize that its a different Skype-API. 它应该在第198行-https: //github.com/taksan/skype-java-api/blob/master/src/main/java/com/skype/ContactList.java Sorry. 抱歉。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM