Sends a chat message from the backend.
The sendMessage()
function sends a text message to a specific channel from
the backend. The message can be from the business to a visitor, or from a
visitor to the business.
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.