first()?->path; return $oSelf; } public static function _cd($sPath, $aUpdate) { $sUser = $aUpdate["message"]["from"]["first_name"]; self::where("user", $sUser)->delete(); $oBookHook = new self(); $oBookHook->path = $sPath; $oBookHook->user = $sUser; $r = $oBookHook->save(); return $r; } }