I have installed botkit on ubuntu. I have tested some examples sending/ receiving messages. It is working fine. I have tried to trigger a file upload event trigger on slack, I have received message/ file upload trigger event in botkit and I have problem to construct the multi form data in node.js.
node.js
controller.on('file_created', function(file) {
console.log("file upload testing' + file)
output:
file upload testing undefined
We need help 'how to construct the data and to get the files data particular on url_private property field to retrive the url which we uploaded.