I have a Bot running on botbuilder V3 where I am using a middleware explained here to intercept the messages.
bot.use({
botbuilder: function (session, next) {
myMiddleware.logIncomingMessage(session, next);
},
send: function (event, next) {
myMiddleware.logOutgoingMessage(event, next);
}
})
We are planning to migrate on sdk v4 so looking for similar capabilities in sdk v4. Are there any ?
I didn't find example on this page.