Hello. I'm working on a chatbot and I have it disp...
# šŸ’»developers
c
Hello. I'm working on a chatbot and I have it displaying using this code: <iframe style="border: none;" srcdoc=" window.botpressWebChat.init({ [... settings ...] }); window.botpressWebChat.onEvent( function (event) { if (event.type === 'LIFECYCLE.LOADED') { window.botpressWebChat.sendEvent({ type: 'show' }) } }, ['LIFECYCLE.LOADED'] ); " width="100%" height="100%"> How could I incorporate a listener for MESSAGE.SENT that gets the information sent by the user to the chatbot?