@dreeg The GPL protects your freedom to modify those clients to use different servers. Here are a couple projects working to reimplement the server API as FOSS: https://github.com/aykutalparslan/Telegram-Server (GPL 3+)
https://github.com/teamgram/teamgram-server (Apache 2.0)