Sean Spicer, the White House press secretary, did not dispute the account.
In a statement, he said that Mr. Comey had put unnecessary pressure on the president’s ability to conduct diplomacy with Russia on matters such as Syria, Ukraine and the Islamic State.
“By grandstanding and politicizing the investigation into Russia’s actions, James Comey created unnecessary pressure on our ability to engage and negotiate with Russia,” Mr. Spicer said. “The investigation would have always continued, and obviously, the termination of Comey would not have ended it. Once again, the real story is that our national security has been undermined by the leaking of private and highly classified conversations.”
The day after firing Mr. Comey, Mr. Trump hosted Russia’s foreign minister, Sergey V. Lavrov, in the Oval Office, along with the Russian ambassador to the United States, Sergey I. Kislyak. The meeting ignited controversy this week when it was revealed that Mr. Trump had disclosed intelligence from an Israeli counterterrorism operation.
A third government official briefed on the meeting defended the president, saying Mr. Trump was using a negotiating tactic when he told Mr. Lavrov about the “pressure” he was under. The idea, the official suggested, was to create a sense of obligation with Russian officials and to coax concessions out of Mr. Lavrov — on Syria, Ukraine and other issues — by saying that Russian meddling in last year’s election had created enormous political problems for Mr. Trump.
The president has been adamant that the meddling did not alter the outcome of the race, but it has become a political cudgel for his opponents.