I have received a letter of resignation from Senator Sam Dastyari as a Senator for New South Wales.