Help - Search - Members - Calendar
Full Version: Adding a contact
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
GaryAtAKCSL
Hi,

I'm sure this is very simple to do but I can't seem to find the documentation on it. How do I add a contact via the api? I saw a post from last year that said invoke the UI and use SendKeys. I'm hoping they were joking worried.png Surely this can be done via the api?

Cheers,
Gary.
spud5
I found this,
http://forum.skype.com/index.php?showtopic=59144
GaryAtAKCSL
Cheers. Seemed to do the trick. For those not in the know ...

private SKYPEAPILib.Access _skype = new SKYPEAPILib.Access();
_skype.Connect();
...
User usr = _skype.GetUser(handle);
usr.BuddyStatus = SKYPEAPILib.SkypeBuddyStatus.budPending;


This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.