Telegram API in Other Languages

Telethon was made for Python, and as far as I know, there is no exact port to other languages. However, there are other implementations made by awesome people (one needs to be awesome to understand the official Telegram documentation) on several languages (even more Python too), listed below:


Possibly the most well-known unofficial open source implementation out there by @vysheng, tgl, and its console client telegram-cli. Latest development has been moved to BitBucket.


The newest (and official) library, written from scratch, is called tdlib and is what the Telegram X uses. You can find more information in the official documentation, published here.


@zerobias is working on telegram-mtproto, a work-in-progress JavaScript library installable via npm.


Kotlogram is a Telegram implementation written in Kotlin (one of the official languages for Android) by @badoualy, currently as a beta– yet working.


A PHP implementation is also available thanks to @danog and his MadelineProto project, with a very nice online documentation too.


A fairly new (as of the end of 2017) Telegram library written from the ground up in Python by @delivrance and his Pyrogram library. There isn’t really a reason to pick it over Telethon and it’d be kinda sad to see you go, but it would be nice to know what you miss from each other library in either one so both can improve.


Yet another work-in-progress implementation, this time for Rust thanks to @JuanPotato under the fancy name of Vail.