I am trying to upload a file on slack with the following code:
import slack import io from slack import WebClient client = slack.WebClient(token=XXX) file = open(