title: Slack API - remotely delete slash command message from channel
body: <p>I have a slash command set up in Slack to go look up some info and post a response message back to the channel. I would like the original slash command message that the user sent ("/whatever go get stuff") to be "replaced" by the response message, so effectively I want to delete the slash command message so the user only sees the response in the channel (similar to how /giphy command works).</p>
  
  <p>My slash command works fine, but I can't figure out how to easily delete the message that triggered the command. I was looking into using the <a href="https://api.slack.com/methods/chat.delete" rel="noreferrer">api/chat.delete</a> endpoint, but I don't have enough info to form the POST data because the slash command request doesn't include <code>ts</code>.</p>
  
  <p>Does anyone have an idea about how to get rid of that last message?</p>