As per 9to5Google reports that sensitive content warnings that detect and blur images of nudity will now be available to all Google Messages users on Android.
The feature allows users to delete blurry images without reviewing them and block the sender of the message. Users who attempt to send or forward nude photos will also be shown a message warning them of the risks and requiring them to swipe right to continue sending the image.

This is the first time it’s available to users outside of the limited beta testing program. Users must be signed in to a Google Account for the privacy feature to work, and it’s on by default for teen accounts. For adult users, the feature is optional and off by default.
You can turn this on by tapping your profile picture in the top right corner, selecting “Messages Settings,” and then tapping “Protection & Security.” There, select “Manage Sensitive Content Warnings” and tap “Warnings in Google Messages” to turn this feature on.