Brig-Gen Mohammad Reza Zahedi, a senior commander of the elite Quds Force, and Brig-Gen Mohammad Hadi Haji-Rahimi, his deputy, were named among the dead.
Iran and Syria's governments condemned the attack, which destroyed a building next door to the Iranian embassy.