TEHRAN — Making his first visit to Iran as United Nations secretary general, Ban Ki-moon met with four members of the country’s hierarchy on Wednesday, including the supreme leader, in sessions that Mr. Ban’s spokesman described as “very serious meetings” that addressed the disputed Iranian nuclear program, the Syria conflict, human rights problems and what he called the leadership’s objectionable comments about Israel.

Iran’s state news media, which have described Mr. Ban’s visit as a repudiation of American and Israeli efforts to isolate Iran, also reported on the meetings but framed them differently, focusing on Mr. Ban’s gratitude for the invitation, their shared goal of resolving the Syrian conflict and Iran’s complaints about big-power meddling in Syria — a reference to efforts by the United States and its allies to topple President Bashar al-Assad, a strategic ally of Iran.

There was no mention in Iranian accounts of Mr. Ban’s criticism of Iran’s human rights record or the comments about Israel by the supreme leader, Ayatollah Ali Khamenei, President Mahmoud Ahmadinejad and others, who refer to Israel as the Zionist entity and have described it as a cancerous tumor that should be eradicated.

The competing accounts of Mr. Ban’s visit came on the first day of a three-day visit to the Nonaligned Movement’s annual meeting, which Iran is hosting as president until 2015 under a three-year rotation system in the 120-member group, the biggest single bloc in the 193-member General Assembly. Mr. Ban decided to attend despite calls by the United States and Israel to boycott it because of Iran’s role.