The president made the announcement on social media, but officials in Israel and Iran have yet to announce it for themselves. His post came hours after Iran launched on attack on a U.S. base in Qatar.