onMessageSentToParticipant( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

An event that triggers when a business sends a message to a contact, member, or site visitor.

The onMessageSentToParticipant() event handler runs when a message is sent from a business to a site's contact, member, or visitor. The received MessageSentToParticipantEvent object contains information about the message that was sent.

Note: Backend events don't work when previewing your site.

Method Declaration
Copy
Method Parameters
eventMessageSentToParticipantEvent

Information about the message that was sent and metadata for the event.

Did this help?