Skip to content

Telegram API in Other Languages

Able Arthy edited this page Aug 26, 2023 · 7 revisions

Telethon was made for Python, and it has inspired other libraries such as gramjs (JavaScript) and grammers (Rust). But there is a lot more beyond those, made independently by different developers.

If you're looking for something like Telethon but in a different programming language, this non-exhaustive list may help you. If you know another maintained library for Telegram or maintain one yourself, feel free to include it below in alphabetical order based on the name of the project.

C

C++

JavaScript

Kotlin

  • Kotlogram made by @badoualy, a Telegram implementation written in Kotlin (one of the official languages for Android). Currently as a beta– yet working. Not updated since 2017
  • Telekram made by @hackintosh5, is also a Telegram implementation in Kotlin. It's written in Kotlin Multiplatform so can theoretically be ported to JS or any language supporting FFI with not too much effort. API is heavily based on Telethon. Specifically features proper handling of updates, so you will never drop any updates again!

Language-Agnostic

Taas is a service that lets you use Telegram API with any HTTP client via API. Using tdlib under the hood, Taas is a commercial service but allows free access if you use under 12000 requests per month.

PHP

Python

  • Pyrogram made by @delivrance, written from the ground up in Python and released on December 12, 2017. The actual work on the framework began roughly three months prior to the initial public release on Github.First commit: 05 December 2017 Source
  • Telethon made by @Lonami, a project used by the author to learn Python that got a bit out of hands ;) First commit: August 26, 2016

Rust