title: Why is a Slack bot sending files to users from me instead of the bot user?
body: <p>I have a database system that generates reports that my client wants sent to specific users in Slack. I've created a Slack bot and am writing code to test it out.</p>
  
  <p>When I send a message using the bot and <code>chat.postMessage</code>, the message comes from the Slackbot. But when I send a file using <code>files.upload</code>, the file gets uploaded, but appears to come from my personal Slack channel as a direct message.</p>
  
  <p>My preference is that it also come from the bot user, which it did when I originally wrote the bot a few months ago.</p>
  
  <p>The only <code>curl</code> options I'm sending are <code>--form file=@slack_test_file.txt</code>, <code>--form channels=Uxxxxxxxx</code>, and <code>--header "Authorization: Bearer xxx...</code>. Neither the URL nor the <code>curl</code> options have any reference to my Slack ID (unless I'm sending the file to myself, but this happens when I send it to someone else too).</p>
  
  <p>How do I get the file to appear to come from the bot user, or, if necessary, the Slackbot?</p>