https://api.slack.com/methods/users.setPresence

def set_presence(self, presence):
        """ https://api.slack.com/methods/users.setPresence
        """
        if presence not in ['auto', 'away']:
            presence = 'auto'
        self.params.update({
            'presence': presence,
            })
        return FromUrl('https://slack.com/api/users.setPresence', self._requests)(data=self.params).post()