def joinedGroup(group, avatar):
 s = group.send({'text': 'Hello, monkeys'})
 s.addCallback(sentMessage, group, avatar)
 return s

def joinedGroup ( group , avatar ) : s = group . send ( { 'text' : 'Hello, monkeys' } ) s . addCallback ( sentMessage , group , avatar ) return s
joined the group successfully .