title: Adding a csv attachment to slack webhook in python
body: <p>I'm trying to use a Slack webhook to notify a channel about a csv file for that day as well as post a link to it to attach. <a href="https://api.slack.com/docs/message-attachments" rel="nofollow noreferrer">https://api.slack.com/docs/message-attachments</a> doesn't use any examples of actual attachments and only includes links. I'm wondering if its even possible to send a csv file that my code is generating and attaching it from its path via <code>os.path.basename(csvfile)</code></p>
  
  <p>I'm trying use the format thats demonstrated here: <a href="https://gist.github.com/devStepsize/b1b795309a217d24566dcc0ad136f784" rel="nofollow noreferrer">https://gist.github.com/devStepsize/b1b795309a217d24566dcc0ad136f784</a> but am not sure if this allows for actual file attachments. So, I'd appreciate any help/direction in this matter. Is it even possible to send file attachments via a Slack webhook and if so, how should one go about doing so?</p>