title: Capture all messages between members in a channel
body: <p>The goal is to save all the dialog between one channel members (e.g. MS Teams) and then send it to another channel.</p>
  
  <p>Is that possible to capture all messages between channel members by sideloaded bot or something?</p>
  
  <p>I used that code from documentation:</p>
  
  <pre><code>const logUserConversation = (event) =&gt; {
      console.log('message: ' + event.text + ', user: ' + event.address.user.name);
  };
  
  // Middleware for logging
  bot.use({
      receive: function (event, next) {
          logUserConversation(event);
          next();
      },
      send: function (event, next) {
          logUserConversation(event);
          next();
      }
  });
  </code></pre>
  
  <p>But it triggers only if you directly @mentioning the bot, no action if conversation going on between the channel members.
  I suspect that it could be the security policy of the bot framework and it is not possible at all...</p>
  
  <p>Any thoughts?</p>
  
  <p>UPDATE: Ok, a support member said to me that the ability to do so is on the roadmap, it will be available later with Graph API.</p>