On Wednesday, Trump unexpectedly sided with Schumer and House Minority Leader Nancy Pelosi in a deal that kept the government funded through mid-December while providing a short-term, three-month suspension of the debt ceiling and ensuring about $15 billion in relief funds to areas hit by Hurricane Harvey.

Several leading Republicans had wanted a longer extension to the debt limit, but Trump received almost universally positive coverage for his surprising moment of bipartisanship — coverage that Schumer's account suggested made an impression on him.

Schumer also hinted at his willingness to work with Trump in the future, citing an interaction he had with Trump shortly after the election last year.

"I said to President-elect Trump, 'Look, we're not going to obstruct you just for the sake of obstruction,'" Schumer said. "If you'll work with us, as long as we can keep our values, we'll work together."