public function changeGroup ($userOpenID, $groupID)
    {
        $failed = $this->changeAllGroups([$userOpenID], $groupID);

        if (count($failed) <= 0) {
            return true;
        }

        return false;
    }
public function changeGroup ($userOpenID, $groupID)
    {
        $failed = $this->changeAllGroups([$userOpenID], $groupID);

        if (count($failed) <= 0) {
            return true;
        }

        return false;
    }
public function changeGroup ( $ userOpenID , $ groupID ) { $ failed = $ this -> changeAllGroups ( [ $ userOpenID ] , $ groupID ) ; if ( count ( $ failed ) <= 0 ) { return true ; } return false ; }
Changes the group for the specified user to the specified group's ID.

@param string $userOpenID - The user's WeChat ID.
@param int    $groupID    - The ID of the group to move the user to.

@return bool
Changes the group for the specified user to the specified group s ID .