The Islamic State group claimed responsibility for the attack in a message on the Telegram messaging app