Reputation: 2538
I have tried to make a function that will clear my Skype group chats. Here is what I came up with:
1.
foreach (SKYPE4COMLib.GroupCollection d in skype.Groups)
{
skype.DeleteGroup(d.Count);
}
2.
for (int i = 0; i < skype.Groups.Count; i++)
{
try
{
skype.DeleteGroup(i);
}
catch { }
}
Both approaches doesn't delete the groups. Not sure what needs to be done to remove all groups from my Skype.
Upvotes: 1
Views: 2292
Reputation: 324
It can not be done via Skype4Com at the moment.
By the way, these groups that you are trying to delete are contact groups, i.e. you can group your contacts in Skype like in any address book. For group chats, look for Chat objects and check the chat member count, something like if (chat.Members.Count > 1).
You can find some more examples here: http://devforum.skype.com/
Upvotes: -1