Este sitio web fue traducido automáticamente. Para obtener más información, por favor haz clic aquí.

Former President Barack Obama called Donald Trump a "corrupt motherf–-er," "madman" and a "racist, sexist pig" to people behind the scenes, a new book claims.

Obama had actually preferred Trump as president over Sen. Ted Cruz when the two were locked in a Republican primary battle, a forthcoming book by writer Edward-Isaac Dovere says.

"I didn’t think it would be this bad," he later told donors, the Guardian reported, citing Dovere’s "Battle for the Soul: Inside the Democrats’ Campaigns to Defeat Trump."

"I didn’t think we’d have this racist, sexist pig," Obama is quoted as saying.

And Obama was set off by reports said that Trump was talking with Vladimir Putin and others without aides on the line while there was an ongoing investigation into Russian election interference, The Guardian said.

"That corrupt motherf–-er!" he said, according to the report.

OBAMA BROS AT CROOKED MEDIA PROMOTED CHARITY LINKED TO TERRORIST GROUP HAMAS: REPORT 

It’s no shocker that Obama and Trump aren’t each other’s biggest fans — but the former Democratic president’s public comments about his Republican successor haven’t come close to the R-rated descriptions alleged in the book.

Dovere took to Twitter Wednesday to say the descriptions and more were in his book.

"Can confirm this is all in Battle for the Soul – but there’s much more about Obama and his reactions to the last four years," Dovere said.

"There’s some cursing from him, but there’s also depth and reflection," he added, then shared a link to preorder the book, due to be released May 25.

Spokespeople for Obama and Trump didn’t respond to emails from The Post on Wednesday.

Obama isn’t the only person whose alleged colorful language has been highlighted by Dovere’s book.

In an adapted excerpt that was published by Politico, Jill Biden is quoted as saying Kamala Harris should "go f—-" herself.

Harris had questioned Joe Biden’s record on race at a Democratic debate. A week later, Jill Biden defended her husband on a call with supporters.

"With what he cares about, what he fights for, what he’s committed to, you get up there and call him a racist without basis? Go f–k yourself," Jill Biden said, according to the report.

CLICK HERE TO GET THE FOX NEWS APP

Harris would later become President Biden’s vice president.