public void HandleIncomingMessage(TextMessage textMessage) { _sentTextMessage = null; IMBotMessage reply = HandleIncomingMessage(textMessage.Text); TextMessage message = reply.ToMsnMessage(); _contact.SendMessage(message); }
private void BroadcastMessage(Contact contact, IMBotMessage message) { MsnConversation conversation = _msnConversations.EnsureConversation(contact); conversation.SendTextMessage(message.ToMsnMessage()); }
private void BroadcastMessage(Contact contact, string message) { IMBotMessage imTextMessage = new IMBotMessage(message, true); BroadcastMessage(contact, imTextMessage); }
private void BroadcastMessage(Contact contact, IMBotMessage message) { MsnConversation conversation = _msnConversations.EnsureConversation(contact); conversation.SendTextMessage(message.ToMsnMessage()); }
private void BroadcastMessage(Contact contact, string message) { IMBotMessage imTextMessage = new IMBotMessage(message, true); BroadcastMessage(contact, imTextMessage); }