code: def upload(self, **kwargs):
          
          if kwargs:
              self.params.update(kwargs)
          return FromUrl('https://slack.com/api/files.upload', self._requests)(data=self.params).post()
docs: https://api.slack.com/methods/files.upload