This has nothing to do with Telegram chats, it’s about sending verification SMSes (either for new user number verification or 2FA).
It has a lot to do with it: Since Telegram is not encrypted and additionally stores all chat history server-side, a compromised login process has a much higher impact since it also compromises past message content, not just those received after the breach.