onMessageReceived( )


An event that fires when a site visitor receives a chat message.

The onMessageReceived() event handler runs when a chat message is received by a site visitor. The received Message object contains information about the message that was received.

Method Declaration
Copy
Method Parameters
messageMessageRequired

The message that was received.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?