Specifically, President Enrique Peña Nieto said that he and Trump did indeed discuss who would pay for construction of a massive wall on the U.S.-Mexico border. That's the centerpiece of Trump's immigration plan.
Trump and Peña Nieto met privately in Mexico City on Wednesday afternoon.
RELATED: Trump says immigration speech coming Wednesday in Arizona
When they emerged from the meeting, Trump told reporters they discussed the wall, but not paying for it.
Hours later, Peña Nieto tweeted his version: "At the beginning of the conversation with Donald Trump, I made clear that Mexico would not pay for the wall."
The Trump campaign did not immediately respond to a request for comment.
Mexican President Enrique Peña Nieto says the Mexican people have been hurt by Donald Trump's past comments that painted them in a negative light.
Peña Nieto told reporters following a closed-door meeting that "misinterpretation or assertions" had negatively impacted perceptions of Trump's candidacy.
He added that, the "Mexican people have been hurt by the comments that had been made." But he said he's sure that Trump is genuinely interested in building a relationship that will benefit both countries.
Peña Nieto spoke in Spanish throughout.
Click here for full coverage on the 2016 election and click here for more stories about Donald Trump.
Former President Vicente Fox, who is railing against my visit to Mexico today, also invited me when he apologized for using the "f bomb."— Donald J. Trump (@realDonaldTrump) August 31, 2016
I have accepted the invitation of President Enrique Pena Nieto, of Mexico, and look very much forward to meeting him tomorrow.— Donald J. Trump (@realDonaldTrump) August 31, 2016