Senate Minority Leader Chuck Schumer with President Donald Trump in the Oval Office before leaving the White House on Wednesday. Alex Wong/Getty Images

Senate Minority Leader Chuck Schumer says President Donald Trump called him to comment on the positive press coverage the two received after striking a deal to increase the debt ceiling.

"I got a call early this morning" from Trump, Schumer told The New York Times on the podcast "The New Washington" on Thursday.

"He said, 'This was so great!' Here's what he said: 'Do you watch Fox News?' I said, 'Not really.' 'They're praising you!' Meaning me. But he said, 'And your stations' — I guess meaning MSNBC and CNN — 'are praising me! This is great!'"

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."