message: add support for files attached to messages in web channel
diff: @@ -402,6 +402,19 @@ module.exports = function(controller) {
  }
  }
  + if (bot.type == 'web') {
  + if (topics[t].script[m].platforms && topics[t].script[m].platforms.web) {
  + // attach files.
  + if (topics[t].script[m].platforms.web.files) {
  + message.files = [];
  + for (var f = 0; f < topics[t].script[m].platforms.web.files.length; f++) {
  + message.files.push(topics[t].script[m].platforms.web.files[f]);
  + }
  + }
  + }
  + }
  +
  +
  if (bot.type == 'teams') {
  if (topics[t].script[m].platforms && topics[t].script[m].platforms.teams) {
  // create attachments in the Botkit message
  