There is still optimism for a peace deal between the United States and Iran as talks continue, according to a senior Trump administration official.