Send Reply

Act as a user, and send a reply to the bot.

This method allows you to send a message to the bot as if you were the current user.
The behaviour will be exactly the same : the reply will appear on the webchat conversation, and the bot will answer to it as a a normal one.

// display (boolean) : Optional value to display or not the replied message in the conversation. Default value is true. 
window.ClustaarWebchat.sendReply("your message", display = true);