His spokesman. I said a direct quote from Trump himself. What did he say about it?
This is a really pedantic argument. This is Trump's spokesman in the white house, aka Trump told him to say that.
When presidents pretty often ask other people to talk for them, it's really silly to say "well Biden/Obama/Trump didn't say this, his spokesman did. I want to know what the president said" when said thing, was because whatever president asked them to say it.
Let's make the facts clear.
Trump said he wanted to not take any salary, that was the promise in 2015-2016, his word. When he became president, he learned he couldn't do that, and changed plans to making it into charities with asking media outlets on the location in 2017.
(we learn that charities part from Sean Spicer, white-house press Secretary and communications director. You pretty much say what the president wants you to, it's literately the PR department.)
The clear intention was to show that he was noble, and did say he'd donate all 4 years (it's implied by the fact he intended to not take a salary at all period). 2017 the trail goes cold, I'm not finding much about it, it's buried among current stories and older shit. If I looked for another 3 hours (hyperbole) I'd probably find more.
However in 2018 and 2019, we know he started donating to federal agencies, which you can get some form of reimbursement. Which is already a bit of a broken promise at that point. In 2020, the last 6 months, which was right about when elections cranked to 11. We don't know where or if he even donated it, and it looks like he didn't.
At the end of the day he broke the charity promise.