Send message to both sides of chat
Using this function you will be able to send message from user to operator or from operator to user.
window.$imber.sendMessage("contact", "Hello ...", false);
First param accepts
operatorif you want to send message from client to operator, set it to
contact,if not set it to
Second param is the message, currently only text messages are supported.
Third param is specifies the message status and accepts
falseif you want to send temporary messages that disappeared after refresh you can set it to
trueif not, set it to