public void BroadcastLunchInfo(LunchInfo info) { Skype4Sharp.Skype4Sharp mainSkype = new Skype4Sharp.Skype4Sharp(_credentials); mainSkype.tokenType = Skype4Sharp.Enums.SkypeTokenType.OAuth; mainSkype.Login(); Chat targetChat = new Chat(mainSkype); targetChat.ChatLink = _chatLink; mainSkype.SendMessage(targetChat, info.MenuMessage); }
public void RetransmitMsg(string user, string msg) { /* * if (mainSkype.authState != LoginState.Success) * { * mainSkype.Login(); * Log("=============>retry login"); * * } */ mainSkype.SendMessage(user, msg); Console.WriteLine("[DEBUG]: Message sended"); // mainSkype.StartPoll(); }