No description
  • Java 43.7%
  • C++ 32.3%
  • C 14.3%
  • Assembly 4.5%
  • Kotlin 1.6%
  • Other 3.2%
Find a file
kuzo dc7f5cb6ad feat: add HermitGram features and AyuGram4A integration
Co-Authored-By: kuzo <noreply@hermit.org>
2026-05-29 10:41:38 -07:00
buildSrc feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
gradle/wrapper update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
plans feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
TMessagesProj feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
TMessagesProj_App feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
TMessagesProj_AppHockeyApp feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
TMessagesProj_AppHuawei feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
TMessagesProj_AppStandalone feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
TMessagesProj_AppTests feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
Tools update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
.gitignore update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
apkdiff.py update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
apkfrombundle.py update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
build.gradle update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
build_log.txt feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
build_log2.txt feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
build_log3.txt feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
build_log4.txt feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
build_log_login_fix.txt feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
Dockerfile update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
error.txt feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
gradle.properties feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
gradlew update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
hermit_afat_debug.apk feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
LICENSE update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
MIGRATION_PLAN.md feat: add AyuGram4A features (stories disable, ghost mode, shadow ban, unlimited accounts, dual passcode) 2026-05-18 01:41:48 +03:00
README.md update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00
screen.png feat: add HermitGram features and AyuGram4A integration 2026-05-29 10:41:38 -07:00
settings.gradle update to 12.6.4 (6666) 2026-04-06 23:11:40 +02:00

Telegram messenger for Android

Telegram is a messaging app with a focus on speed and security. Its superfast, simple and free. This repo contains the official source code for Telegram App for Android.

Creating your Telegram Application

We welcome all developers to use our API and source code to create applications on our platform. There are several things we require from all developers for the moment.

  1. Obtain your own api_id for your application.
  2. Please do not use the name Telegram for your app — or make sure your users understand that it is unofficial.
  3. Kindly do not use our standard logo (white paper plane in a blue circle) as your app's logo.
  4. Please study our security guidelines and take good care of your users' data and privacy.
  5. Please remember to publish your code too in order to comply with the licences.

API, Protocol documentation

Telegram API manuals: https://core.telegram.org/api

MTproto protocol manuals: https://core.telegram.org/mtproto

Compilation Guide

Note: In order to support reproducible builds, this repo contains dummy release.keystore, google-services.json and filled variables inside BuildVars.java. Before publishing your own APKs please make sure to replace all these files with your own.

You will require Android Studio 3.4, Android NDK rev. 20 and Android SDK 8.1

  1. Download the Telegram source code from https://github.com/DrKLO/Telegram ( git clone https://github.com/DrKLO/Telegram.git )
  2. Copy your release.keystore into TMessagesProj/config
  3. Fill out RELEASE_KEY_PASSWORD, RELEASE_KEY_ALIAS, RELEASE_STORE_PASSWORD in gradle.properties to access your release.keystore
  4. Go to https://console.firebase.google.com/, create two android apps with application IDs org.telegram.messenger and org.telegram.messenger.beta, turn on firebase messaging and download google-services.json, which should be copied to the same folder as TMessagesProj.
  5. Open the project in the Studio (note that it should be opened, NOT imported).
  6. Fill out values in TMessagesProj/src/main/java/org/telegram/messenger/BuildVars.java theres a link for each of the variables showing where and which data to obtain.
  7. You are ready to compile Telegram.

Localization

We moved all translations to https://translations.telegram.org/en/android/. Please use it.