Пример #1
0
        public void HandleIncomingMessage(TextMessage textMessage)
        {
            _sentTextMessage = null;

            IMBotMessage reply = HandleIncomingMessage(textMessage.Text);

            TextMessage message = reply.ToMsnMessage();

            _contact.SendMessage(message);
        }
Пример #2
0
 private void BroadcastMessage(Contact contact, IMBotMessage message)
 {
     MsnConversation conversation = _msnConversations.EnsureConversation(contact);
     conversation.SendTextMessage(message.ToMsnMessage());
 }
Пример #3
0
        private void BroadcastMessage(Contact contact, IMBotMessage message)
        {
            MsnConversation conversation = _msnConversations.EnsureConversation(contact);

            conversation.SendTextMessage(message.ToMsnMessage());
        }