Iran will attend international talks on the Syrian conflict for the first time, a foreign ministry spokeswoman says.