WASHINGTON — President Trump spoke in intimate and candid terms to the former F.B.I. director James Comey about some of the most sensitive matters before the agency, including the salacious dossier detailing Mr. Trump’s ties to Russia and the investigation into Michael T. Flynn, the president’s first national security adviser, according to Mr. Comey’s closely guarded memos.

The redacted and declassified memos — running 15 pages in total, and sent to Congress from the Justice Department on Thursday night — detail a series of phone calls and encounters between the two men in the months leading up to Mr. Comey’s firing. They offer an extraordinary look at the private interactions among leaders at the highest levels of government.

[Read the memos here.]

Mr. Trump seized on the memos in a Twitter message posted late Thursday to repeat what has become a constant refrain, that there was “NO COLLUSION and NO OBSTRUCTION.”