sendMessage( )


Sends a chat message from a site visitor.

The sendMessage() function returns a Promise that is resolved when the message is sent.

Currently only chat messages containing text can be sent programatically.

Method Declaration
Copy
Method Parameters
messageInfoMessageInfoRequired

An object representing the message to be sent.

Did this help?