So here's something really cool I found, apparently #Telegram is very notorious for having the unholy combination of a FOSS client with a "black box" as a server.
As it turns out, not one but two different devs have reversed the server side of Telegram and written their own implementation of it.