An investigation has been launched into a WhatsApp group which is said to include more than a dozen Labour councillors and party officials.