feat: Support card message postback event as widget event (#11133)
Fixes https://github.com/chatwoot/chatwoot/issues/5956 Fixes https://github.com/chatwoot/chatwoot/issues/1895
This commit is contained in:
@@ -62,6 +62,10 @@ window.addEventListener('chatwoot:on-message', function(e) {
|
||||
console.log('chatwoot:on-message', e.detail)
|
||||
})
|
||||
|
||||
window.addEventListener('chatwoot:postback', function(e) {
|
||||
console.log('chatwoot:postback', e.detail)
|
||||
})
|
||||
|
||||
|
||||
window.addEventListener('chatwoot:on-start-conversation', function(e) {
|
||||
console.log('chatwoot:on-start-conversation', e.detail)
|
||||
|
||||
Reference in New Issue
Block a user