Send Message

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 contact and operator if you want to send message from client to operator, set it to contact, if not set it to operator .

Second param is the message, currently only text messages are supported.

Third param is specifies the message status and accepts true or false if you want to send temporary messages that disappeared after refresh you can set it to true if not, set it to false

Last updated