high-cpu-79286
07/18/2023, 1:49 PMacceptable-gold-88171
07/18/2023, 3:33 PMhigh-cpu-79286
07/18/2023, 3:48 PMhigh-cpu-79286
07/18/2023, 3:48 PMhigh-cpu-79286
07/18/2023, 3:50 PMconst handler = () => {
// @ts-ignore
window.botpressWebChat.sendEvent({
type: 'custom-event',
channel: 'web',
});
};
high-cpu-79286
07/18/2023, 3:51 PMconsole.log('HELLOOOOO')
if (event && event.type === 'custom-event') {
botpressWebChat.webchatOpen ? 'hide' : 'show'
console.log('bye')
}
high-cpu-79286
07/19/2023, 10:32 AMacceptable-gold-88171
07/20/2023, 3:37 PMacceptable-gold-88171
07/20/2023, 3:37 PMacceptable-gold-88171
07/20/2023, 3:37 PM