Skip to content

Instantly share code, notes, and snippets.

@jengel3
Created April 6, 2015 04:17
Show Gist options
  • Save jengel3/a038e3d00253092e4570 to your computer and use it in GitHub Desktop.
Save jengel3/a038e3d00253092e4570 to your computer and use it in GitHub Desktop.
Add all users in a Skype group
def addContacts():
import Skype4Py
skype = Skype4Py.Skype()
skype.Attach()
client = Skype4Py.client.Client(skype)
for chat in skype.Chats:
if len(chat.Members) > 50:
print chat.Name
for user in chat.Members:
user.SetBuddyStatusPendingAuthorization("Add me? (from group chat)")
addContacts()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment