It is the first time the Taliban authorities have accepted an United Nations invitation, after previous talks were snubbed by the Islamist group.