code: def close(self, channel):
          
          self.params.update({
              'channel': channel,
              })
          return FromUrl('https://slack.com/api/im.close', self._requests)(data=self.params).post()
docs: https://api.slack.com/methods/im.close