A tennis club has said it is "delighted" after being granted charitable status.