Interactly.on('call-start', () => { console.log('Call has started');});Interactly.on('call-end', () => { console.log('Call has stopped');});// Assistant messages and transcripts will be sent via messagesInteractly.on('message', (message) => { console.log(message);});Interactly.on('error', (e) => { console.error(e);});
These events allow you to react to changes in the state of the call or speech.