Top congressional Democrats abruptly pulled out of a White House meeting on Tuesday after President Trump attacked them on Twitter.

Senate Democratic Leader Chuck Schumer, D-New York, and House Democratic Leader Nancy Pelosi, D-California, said in a joint statement they would not be attending after the president tweeted, "I don't see a deal!" hours before their scheduled meeting on ways to avoid a government shutdown. Instead, they say they've asked to meet with top Republicans in Congress.

"Given that the president doesn't see a deal between Democrats and the White House, we believe the best path forward is to continue negotiating with our Republican counterparts in Congress instead," their statement reads. "Rather than going to the White House for a show meeting that won't result in an agreement, we've asked Leader McConnell and Speaker Ryan to meet this afternoon. We don't have any time to waste in addressing the issues that confront us, so we're going to continue to negotiate with Republican leaders who may be interested in reaching a bipartisan agreement."

Get Breaking News Delivered to Your Inbox

"If the president, who already said earlier this year that 'our country needs a good shutdown,' isn't interested in addressing the difficult year end agenda, we'll work with those Republicans who are, as we did in April," the statement continued. "We look forward to continuing to work in good faith, as we have been for the last month, with our Republican colleagues in Congress to do just that."

Schumer continued that objection on Capitol Hill Tuesday afternoon.

"Mr. President, it's time to stop tweeting, and start leading," he said, adding that Mr. Trump will need to "change his mind" to avoid the "calamity" of the government shutdown.

Schumer added Democrats are willing to work with Republicans, "but they have to do it in a bipartisan way."

Mr. Trump took to Twitter on Tuesday to bad-mouth Capitol Hill's top Democrats in advance of the afternoon meeting at the White House, casting doubt on the prospects for a quick agreement to avert a government shutdown at the end of next week.

Meeting with “Chuck and Nancy” today about keeping government open and working. Problem is they want illegal immigrants flooding into our Country unchecked, are weak on Crime and want to substantially RAISE Taxes. I don’t see a deal! — Donald J. Trump (@realDonaldTrump) November 28, 2017

Mr. Trump said that "Chuck and Nancy" favor "illegal immigrants flooding into our Country" and are weak on crime.

White House press secretary Sarah Sanders said the president's invitation "still stands."

"It's disappointing that Senator Schumer and Leader Pelosi are refusing to come to the table and discuss urgent issues," Sanders said in a statement. "The president's invitation to the Democrat leaders still stands and he encourages them to put aside their pettiness, stop the political grandstanding, show up and get to work. These issues are too important. The meeting will proceed as scheduled with Speaker Ryan, Leader McConnell and administration officials who are committed to getting things done. If the Democrats believe the American people deserve action on these critical year-end issues as we do, they should attend."

McConnell and Ryan issued this joint statement after the Democrats' announcement that they would not attend the White House meeting:

"We have important work to do, and Democratic leaders have continually found new excuses not to meet with the administration to discuss these issues. Democrats are putting government operations, particularly resources for our men and women on the battlefield, at great risk by pulling these antics. There is a meeting at the White House this afternoon, and if Democrats want to reach an agreement, they will be there."

Washington faces a Dec. 8 deadline to pass a temporary spending bill to stave off a shutdown. It was hoped Tuesday afternoon's meeting might lay a foundation to keep the government running and set a path for a year-end spending package to give both the Pentagon and domestic agencies relief from a budget freeze.

Mr. Trump is still seeking his first big legislative win in Congress, and his attack on Democrats came as his marquee tax bill faced turbulence as well. The White House and top GOP leaders have work to do to get their tax bill in shape before a hoped-for vote later this week. Party deficit hawks pressed for a "backstop" mechanism to limit the risk of a spiral in the deficit, even as defenders of small business pressed for more generous treatment.

On a separate track from taxes is a multi-layered negotiation over several issues. Hoped-for increases for the Pentagon and domestic agencies are at the center, but a host of other issues are in the mix as well.

A temporary spending bill expires Dec. 8 and another is needed to prevent a government shutdown. Hurricane aid weighs in the balance and Democrats are pressing for legislative protections for immigrants known as "Dreamers," even as conservative Republicans object to including the issue in the crush of year-end business.

There's also increased urgency to find money for the children's health program that serves more than 8 million low-income children. The program expired on Oct. 1, and states are continuing to use unspent funds. Arizona, California, Minnesota, Ohio, Oregon and the District of Columbia are among those expected to deplete that money by late December or in January.

Democrats carry leverage into the talks, which have GOP conservatives on edge. GOP leaders appear wary of early-stage concessions that might disturb the mood of rank-and-file Republicans while the tax bill is in the balance.

Trump's visit to the Capitol is his third in little more than a month. This time, he'll try to make the sale to Senate Republicans on his signature tax bill. Among the holdouts are GOP Trump critics, including Sens. Jeff Flake of Arizona and Bob Corker of Tennessee — though GOP leaders are seeking to rope in straggling Republicans with a flurry of deal-cutting.

"There's still some loose ends. We're not quite there yet," said Sen. Rob Portman, R-Ohio. "But I think we're going to get there, I really do."

Mr. Trump's sessions with big groups of Republicans tend to take the form of pep rallies, and when visiting a Senate GOP lunch last month Mr. Trump spent much of the time recalling the accomplishments of his administration.

Besides Pelosi and Schumer, the White House meeting later in the days includes Speaker Paul Ryan, R-Wis. and Senate Majority Leader Mitch McConnell, R-Ky.

Mr. Trump hasn't engaged much with Pelosi and Schumer since a September meeting that produced an agreement on a short-term increase in the government's debt limit and a temporary spending bill that is keeping the government's doors open through Dec. 8.

Mr. Trump reveled in the bipartisan deal for a time and generated excitement among Democrats when he told then he would sign legislation to protect from deportation immigrants who were brought to the country illegally as children.

Mr. Trump in September reversed an executive order by former President Barack Obama that gave protections to these immigrants, many of whom have little or no connection to their home country. Shortly afterward, he told Pelosi and Schumer he would sign legislation protecting those immigrants, provided Democrats made concessions of their own on border security.

Since the president is such a wild card, neither Democrats nor Republicans were speculating much about what Tuesday's meeting might produce.

"Hopefully, we can make progress on an agreement that covers those time-sensitive issues and keeps the government running and working for the American people," Schumer said.