Girls, is it appropriate if your guy class fellow crush texts you without permission?

By taking your number from class whatsapp group. Suppose you have already spoken to him before multiple times. She's my crush and I'm her crush