Exemplo n.º 1
0
 public void Should_send_message_to_group()
 {
     var oSkype = new Skype();
     if (oSkype.Client.IsRunning == false)
     {
         oSkype.Client.Start(false, true);
     }
     UserCollection users = oSkype.Friends;
     foreach (User f in users)
     {
         Console.WriteLine(f.DisplayName + "|" + f.FullName + "|" + f.Handle);
     }
     //var msg = oSkype.SendMessage("testgogroups", "some text...");
     var om = new UserCollection();
     om.Add(oSkype.get_User("testgogroups"));
     om.Add(oSkype.get_User("jonny.plankton"));
     var oc = oSkype.CreateChatMultiple(om);
     oc.OpenWindow();
     //oc.Topic = "Build is broken";
     oc.SendMessage("Build is broken");
     oc.Leave();
 }