lakmals

Results comments of lakmals

I'm facing the same issue. Is there any way I could use "session.userData.chatData =[]" instead of "var chatData = []"

Hi rjgmail88, Found a workaround for this using dynamic variables. In server.js =========== var chatHistory= [] const logUserConversation = (event) => { **chatHistory[session.address.conversation.id])** += (event.text); console.log('******** BOT/User Message: ' +...

Your question is not clear. I'm using chatHistory[session.message.address.conversation.id] to trigger a mail with nodemailer. ex: bot.dialog('DialogTest', [ function (session) { session.send(chatHistory[session.message.address.conversation.id]); } ]); I would like to know the steps,...