Iran's president is claiming a diplomatic victory following his address at the UN General Assembly on Tuesday.