Add contact/friend in skype using api in Java

980 views Asked by At

I want to add new contact to a skype account using java with skype api. Is there any java package available to use for the objective? Also if there is any sample code available for it please share the link Thanks in advance

1

There are 1 answers

0
Prime123 On
    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. Sorry.