Tehran has declined direct talks after Donald Trump sent a letter to Supreme Leader Ayatollah Khamanei.