By only accepting ANSI input, not encrypting any messages, and not bothering to protect users' from remote attacks.
Facebooks's GUI stack for WhatsApp may be rather buggy but on a technical level there's a lot more going on than back in the days of unencrypted TCP connections over plaintext protocols.
Meanwhile, Telegram has an excellent desktop app (despite their terrible protocol), so it's not like the knowledge was lost either.
I don't use the Telegram web app, but their native apps work excellently. The insertion of ads has been a major disappointment but the chat UX itself is still great, even on native Linux.
Indeed. I'm not actively using Telegram, but I tried the desktop application (made with Qt if I remember well), and it's way ahead of what Whatsapp offers. Not to mention it's fast and relatively light.
Facebook could just take the app, change the colour's to make it green, and replace the messaging protocol with their WhatsApp library, and they'd get an actually usable chat client practically for free.
As a teenager, I thought we'd get better at making software over time. Not worse.
This is partly because MS became insanely complacent. The Windows team is very junior. Just ask anyone who has worked with them. They don't have the skills or resourcing that they did in the 90s.