President Trump says the US is nearing the end of the conflict with Iran and claims direct talks with Tehran.