I agree with your analysis. If any information did make it to Hamas from Trump, it likely wasn’t directly from MBS in a single step. But it’s possible there could have been some Hamas sympathisers somewhere in the Saudi government that sent it along.
Or, as I noted, the same info was available to anyone at Mar-A-Lago. All they had to do was plant someone on the wait staff there and embed a camera somewhere on their person…