title: how to properly delete or update activities on bot framework?
body: <p>I can't find a guide on documentation for make this possible. 
  I tried to use <code>TurnContext.UpdateActivity</code>, but I'm getting an error.</p>
  
  <p>My code:</p>
  
  <pre><code>IMessageActivity responseActivity = MessageFactory.Text("Test ctm");
  responseActivity.Id = userProfile.messageToDelete;
  responseActivity.Conversation = turnContext.Activity.Conversation;
  responseActivity.ServiceUrl = turnContext.Activity.ServiceUrl;
  //await turnContext.DeleteActivityAsync(userProfile.messageToDelete, cancellationToken: cancellationToken);
  await turnContext.UpdateActivityAsync(responseActivity, cancellationToken);
  </code></pre>
  
  <p>The last line throws the exception:</p>
  
  <blockquote>
    <p>Microsoft.Bot.Schema.ErrorResponseException: 'Operation returned an invalid status code 'NotFound''</p>
  </blockquote>
  
  <p>What could be wrong? Can you share any code sample?</p>