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:

C

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.

C++

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.

JavaScript

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

Kotlin

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

PHP

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

Python

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.

Rust

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