Telegram requires verification by phone. Despite that measure, spam from thousands of bots is not uncommon.
Phone numbers barely help.
What really works though, is microtransactions. I have not seen any spam in chats where you are required to pay even a tiny fraction of a cent to join (1/64000th of a cent).