Most countries currently have laws that openly require telecommunications providers, but not messaging apps, to do lawful intercept. This isn't hidden.
Most spy agencies find having to get a warrant from a judge for each target too cumbersome, so they tap into fiber cables and do unlawful intercept as well.