An unofficial Telegram client for Android.
Requires Android 12 or later.
Android Studio (or the Android SDK with licenses accepted). Gradle provisions JDK 21, and the required SDK platform, NDK and CMake are installed automatically on first sync.
-
Clone the repository along with its submodules:
git clone --recursive --shallow-submodules https://github.com/risin42/Aoigram.git cd Aoigram -
Go to the Firebase Console, create two Android apps with application IDs
nu.gpu.aoigramandnu.gpu.aoigram.debug, enable Firebase Cloud Messaging, and downloadgoogle-services.json. -
Generate a signing keystore named
release.keystorefollowing the Android App Signing guide. -
Copy your
google-services.jsonandrelease.keystoreintoTMessagesProj_App/. -
Add your Telegram API credentials and signing configuration to
local.properties(or pass them as environment variables):APP_ID= APP_HASH= RELEASE_KEY_ALIAS= RELEASE_KEY_PASSWORD= RELEASE_STORE_PASSWORD=
-
(Optional) Replace the Google Maps API key in
TMessagesProj_App/src/main/AndroidManifest.xml, and update the release channel constants (CHANNEL_USERNAME,CHANNEL_ID) inTMessagesProj/src/main/java/nu/gpu/aoigram/remote/RemoteConfig.java.
Run Gradle to assemble the release APK:
./gradlew :TMessagesProj_App:assembleReleaseBy default, this builds for arm64-v8a. To target another architecture, set the AOI_ABI environment variable to armeabi-v7a, x86, x86_64, or universal.
Translations are hosted on Crowdin. Contributions are welcome.