title: Clear the existing dialog
body: <p>When I enter the "reset" command, I want the conversation restart again and clear all the previous dialog, May I ask about how to do it? I had stuck for 2 days.
  Thank in advanced.</p>
  
  <p>Here with my source code.</p>
  
  <pre><code>bot.dialog('/reset', (session) =&gt; {
      session.endDialog();
  
      var msg = new builder.Message(session)
          .addAttachment(welcomecard_1.welcomeCard());
  
      session.send(msg);
  })
  .triggerAction({
      matches: /^reset$/i
  });
  </code></pre>
  
  <p>After I enter the "reset" or "/reset"
  the previous conversation [in red color] will remove from the dialog and this channel is using direct line.
  <a href="https://i.stack.imgur.com/Lzpzx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Lzpzx.png" alt="enter image description here"></a></p>
  
  <p><strong>Updated:</strong>
  I had try this code , but not work.</p>
  
  <pre><code>bot.use(builder.Middleware.dialogVersion({ version: 1.0, resetCommand: /^reset/i }));
  </code></pre>