Don't have Telegram yet? Try it now!
https://telegram.org/blog/tdlib
Introducing TDLib, a powerful library for third-party developers of Telegram clients.