chore: Add chatwoot:on-message event (#6425)

This commit is contained in:
Pranav Raj S
2023-02-09 12:48:22 -08:00
committed by GitHub
parent 53d5d2af3c
commit 8db40f2d82
4 changed files with 38 additions and 3 deletions

View File

@@ -53,4 +53,9 @@ window.addEventListener('chatwoot:ready', function() {
window.addEventListener('chatwoot:error', function(e) {
console.log('chatwoot:error', e.detail)
})
window.addEventListener('chatwoot:on-message', function(e) {
console.log('chatwoot:on-message', e.detail)
})
</script>