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
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
Telegram Desktop
Team Chat
Telegram Desktop messaging app
GPL-3.0vs WhatsApp★ 34k
Signal Android
Team Chat
A private messenger for Android.
AGPL-3.0vs WhatsApp★ 30k
Session
Team Chat
Session Desktop - A Decentralized, Onion Routed, Private Messenger
GPL-3.0vs Signal★ 611
Signal Desktop
Team Chat
A private messenger for Windows, macOS, and Linux.
AGPL-3.0vs WhatsApp★ 17k
SimpleX Chat
Team Chat
SimpleX - the first messaging network operating without user identifiers of any kind - 100
AGPL-3.0vs WhatsApp★ 20k
Element
Team Chat
A glossy Matrix collaboration client for the web.
AGPL-3.0vs Slack★ 14k
SaaS alternatives to Telegram for Android
See all
WhatsApp
Team Chat
Messaging and calling app with a Business version for customer chats
SaaS
Messenger
Team Chat
Meta's chat and video calling service for Facebook contacts
SaaS
Viber
Team Chat
Messaging and calling app with communities and business messaging
SaaS
LINE
Team Chat
Messenger and super-app popular in Japan, Taiwan and Thailand
SaaS
WeChat
Team Chat
Tencent's messaging and mobile payments app
SaaS
Zalo
Team Chat
Vietnamese messaging and calling app with official business accounts
SaaS
KakaoTalk
imo
Kik