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()); }