Telegram allows you to "unsend" messages coming from either party, and has no time limit

I checked, earlier. They do it server side. Because otherwise, the hashing method would be known and someone would have done this already, I bet. All they have to do is use a secret salt.