2018-01-05 02:59:53 +03:00
===============================
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
2020-04-29 16:42:59 +03:00
=
2018-01-05 02:59:53 +03:00
Possibly the most well-known unofficial open source implementation out
2018-01-06 15:37:46 +03:00
there by `@vysheng <https://github.com/vysheng> `__ ,
`tgl <https://github.com/vysheng/tgl> `__ , and its console client
`telegram-cli <https://github.com/vysheng/tg> `__ . Latest development
2018-01-05 02:59:53 +03:00
has been moved to `BitBucket <https://bitbucket.org/vysheng/tdcli> `__ .
2018-03-01 15:21:28 +03:00
C++
2019-05-09 13:24:37 +03:00
===
2018-03-01 15:21:28 +03:00
The newest (and official) library, written from scratch, is called
`tdlib <https://github.com/tdlib/td> `__ and is what the Telegram X
uses. You can find more information in the official documentation,
published `here <https://core.telegram.org/tdlib/docs/> `__ .
2018-01-05 02:59:53 +03:00
JavaScript
2019-05-09 13:24:37 +03:00
==========
2018-01-05 02:59:53 +03:00
2020-04-27 21:12:49 +03:00
`Ali Gasymov <https://github.com/alik0211> `__ made the `@mtproto/core <https://github.com/alik0211/mtproto-core> `__ library for the browser and nodejs installable via `npm <https://www.npmjs.com/package/@mtproto/core> `__ .
2018-01-05 02:59:53 +03:00
2020-04-29 16:42:59 +03:00
`painor <https://github.com/painor> `__ is the primary author of `gramjs <https://github.com/gram-js/gramjs> `__ ,
a Telegram client implementation in JavaScript.
2018-01-05 02:59:53 +03:00
Kotlin
2019-05-09 13:24:37 +03:00
======
2018-01-05 02:59:53 +03:00
`Kotlogram <https://github.com/badoualy/kotlogram> `__ is a Telegram
2018-03-17 19:07:56 +03:00
implementation written in Kotlin (one of the
2018-01-05 02:59:53 +03:00
`official <https://blog.jetbrains.com/kotlin/2017/05/kotlin-on-android-now-official/> `__
2018-03-17 19:07:56 +03:00
languages for
2018-01-05 02:59:53 +03:00
`Android <https://developer.android.com/kotlin/index.html> `__ ) by
2018-01-06 15:37:46 +03:00
`@badoualy <https://github.com/badoualy> `__ , currently as a beta–
2018-01-05 02:59:53 +03:00
yet working.
PHP
2019-05-09 13:24:37 +03:00
===
2018-01-05 02:59:53 +03:00
A PHP implementation is also available thanks to
2018-01-06 15:37:46 +03:00
`@danog <https://github.com/danog> `__ and his
2018-01-05 02:59:53 +03:00
`MadelineProto <https://github.com/danog/MadelineProto> `__ project, with
a very nice `online
documentation <https://daniil.it/MadelineProto/API_docs/>`__ too.
Python
2019-05-09 13:24:37 +03:00
======
2018-01-05 02:59:53 +03:00
A fairly new (as of the end of 2017) Telegram library written from the
ground up in Python by
2018-01-06 15:37:46 +03:00
`@delivrance <https://github.com/delivrance> `__ and his
2018-03-01 15:21:28 +03:00
`Pyrogram <https://github.com/pyrogram/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.
2018-01-05 02:59:53 +03:00
Rust
2019-05-09 13:24:37 +03:00
====
2018-01-05 02:59:53 +03:00
2020-02-11 18:44:25 +03:00
The `grammers <https://github.com/Lonami/grammers> `__ library is made by
the `same author as Telethon's <https://github.com/Lonami> `__ ! If you are
looking for a Telethon alternative written in Rust, this is a valid option!
Another older, work-in-progress implementation, on Rust is made by
`@JuanPotato <https://github.com/JuanPotato> `__ under the fancy
2018-03-01 15:21:28 +03:00
name of `Vail <https://github.com/JuanPotato/Vail> `__ .