Programatically send message in chat embed mode...

Last post 02-19-2009, 10:54 AM by cutechat. 1 replies.
Sort Posts: Previous Next
  •  02-18-2009, 11:12 AM 48937

    Programatically send message in chat embed mode...

    Have an embedded chat in a DNN page. Our client would like to chose a message from a list of canned messages (no problem...we can supply this), click on a msg, and send it to the person he is chatting with. Is it possible, and if so, to programmatically send the selected message to the active chat window? I will know the lobby-id, etc, so all is good there. Just looking for a way to get a message into the chat window and click the Send button (programmatically).
     
    Thanks!
  •  02-19-2009, 10:54 AM 49006 in reply to 48937

    Re: Programatically send message in chat embed mode...

    Hi,
     
    If you want to send message just in that page, you can call the javascript api SendMessage:
     
    SendMessage(text,html);
     
    Regards,
    Terry
View as RSS news feed in XML