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.
An object representing the message to be sent.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.