VPN is a also a good solution, but on mobile devices it consumes additional power. And since all traffic to Telegram servers is encrypted anyway, you may as well use SOCKS proxy which does not eat your battery.
Of course, it is a bad practive to pipe into
sudo bash something that you have found on the Internet. But if you use some expendable vm/container that serves only one purpose, it’s fine.
If you are looking for a more complex and functional solution to bypass censorship, you may check out Streisand Effect.