Telegram for Android

Open source

The official GPL-2.0 Java source code of the Telegram messaging app for Android, with build instructions and links to the API and MTProto manuals.

GitHub stars
30k
Last 30 days
+207(+1%)
Last commit
6 days ago
Repository age
13 years
Version
release-11.4.2-5469
Licence
GPL-2.0
Self-hosted
Yes

About Telegram for Android

This repository contains the official source code of the Telegram app for Android. Telegram is described there as a messaging app with a focus on speed and security. The code is written in Java and released under the GNU General Public License v2.0.

The README invites developers to use Telegram's API and source code for their own applications, with conditions. You must obtain your own api_id, avoid using the Telegram name or its paper-plane logo unless users understand the app is unofficial, follow the security guidelines and publish your code to comply with the licences. API and MTProto protocol manuals are linked.

A compilation guide lists the tools needed: Android Studio 2025.1.4, Android NDK 27.2.12479018 and Android SDK 36. You clone with submodules, supply your own release keystore, create Firebase apps for the two application IDs, fill in BuildVars.java and then compile. Dummy keystore and Firebase files are included to support reproducible builds, and translations are managed at translations.telegram.org.

Key features

  • Official source of the Telegram Android app
  • Messaging app focused on speed and security
  • Links to API and MTProto protocol manuals
  • Step-by-step compilation guide
  • Reproducible build support with dummy signing files
  • Translations managed on a dedicated site

Good fit for

  • Building the Telegram client from source
  • Creating an unofficial Telegram client
  • Studying a large Android messaging app
Built with
Java tools
Tags
telegram
android
messenger
java
source-code
gpl
mobile

Telegram for Android: questions and answers

What is Telegram for Android used for?
Telegram for Android is the official GPL-2.0 Java source code of the Telegram messaging app for Android, with build instructions and links to the API and MTProto manuals. It is a good fit for building the Telegram client from source, creating an unofficial Telegram client and studying a large Android messaging app.
Is Telegram for Android open source?
Yes. Telegram for Android is open source under the GPL-2.0 licence. Its source code is on GitHub at DrKLO/Telegram and is written mainly in Java.
Is Telegram for Android free?
Yes. Telegram for Android is open source, so the software itself is free to use.
Can I self-host Telegram for Android?
Yes. Telegram for Android can be self-hosted on your own server or infrastructure.
What is Telegram for Android an alternative to?
Telegram for Android is an open-source alternative to WhatsApp, Messenger, Viber and LINE. Other open-source alternatives to WhatsApp include Telegram Desktop, Signal Android and Session.
Is Telegram for Android actively maintained?
Yes. The most recent commit to Telegram for Android was on 7 November 2026. The project has 30k stars on GitHub, with 207 added in the last 30 days.

Open-source alternatives to Telegram for Android

See all

SaaS alternatives to Telegram for Android

See all