I think it depends on your mobile phone provider, it started working for me when I switched providers on my Poco X3 Pro. Maybe you can update the provider settings on your phone? If that doesn't work you need to give us more info; phone model, ROM version, mobile phone provider, things you already tried yourself etc.
With Rich Communication Services or RCS, a modern industry standard for messaging, you can have a more dynamic and secure conversation with someone than SMS or MMS. Learn about Rich Communication Serv
support.google.com