Right now, the only way to download a file from Slack is to do something like this:
import requests
response = requests.get(url_private, headers={"Authorization": f"Bearer {TOKEN}"}, timeout=30)
However, this does not respects the parameters passed to WebClient. We should be able to do something like:
client = WebClient()
response = client.get(url_private)
Or something along those lines.
Category (place an x in each of the [ ])
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
Right now, the only way to download a file from Slack is to do something like this:
However, this does not respects the parameters passed to WebClient. We should be able to do something like:
Or something along those lines.
Category (place an
xin each of the[ ])Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.