Play date etiquette

When your child has a friend over or when your child goes to a friends place do you expect a text or vice versa afterward saying thank you for having my child over to play? Like is a thank you text necessary?