code: def SetPassword(self, Password, Hint=''):
          
          if ' ' in Password:
              raise ValueError('Password mut be one word')
          self._Alter('SETPASSWORD', '%s %s' % (tounicode(Password), tounicode(Hint)))
docs: Sets the chat password.
  
          :Parameters:
            Password : unicode
              Password
            Hint : unicode
              Password hint