How to send Skype messages to chat group

1.3k views Asked by At

I use https://github.com/taksan/skype-java-api but I can't get group chat id. When I do:

Chat[] allChats = Skype.getAllChats(); 

it only gets chats with one person. Any solution?

1

There are 1 answers

0
Reg On BEST ANSWER

This should do the trick.

   Group[] allGroups = Skype.getContactList().getAllGroups();
   for (Group group : allGroups) {
       System.out.println(group.getId());
   }