Netanyahu informed Trump in adance of the strike, and Trump informed the Qataris in advance. That much is certain, despite Trump claiming ignorance.
Only real question is :
Did the Qataris inform Hamas in advance and enabled Hamas leaders to escape the strike, OR
The Qataris kept quiet and let the Hamas leaders be killed, because they are now more trouble than they're worth to Qatar.