System Emoji characters for Telegram.
Pull request Compare This branch is 385 commits ahead, 28 commits behind DrKLO:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.
TMessagesProj Version 0.1.9 (7673) Mar 27, 2016
Tools Some new features and bug fixes Jun 17, 2014
gradle/wrapper Update to 3.7.0 Mar 16, 2016
.gitignore Ignore compiled NDK libs Jan 24, 2016
LICENSE first commit Oct 25, 2013 Update Jul 2, 2016
build.gradle Update to 3.7.0 Mar 16, 2016 Update to 3.7.0 Mar 16, 2016
gradlew first commit Oct 25, 2013
settings.gradle first commit Oct 25, 2013


This project is no longer maintained!

I'm sorry for this, but with the slow release of Telegram source code, I don't have any more patience to continue working on this project.

For an alternative of this, try Plus Messenger or Lagatgram.

This project adds an option to display Google's Emoji Font and keeps minimal changes to other part of the application.

Download Moegram from Google Play

Visit releases page

Moegram channel:


Build Instructions

These instructions apply to both this repository (Moegram) and official Telegram for Android sources.


  • Android SDK
  • Android NDK
  • Android Studio

When on an OS X with Homebrew and Homebrew Cask, it's easy to install them:

brew install android-sdk android-ndk
brew cask install android-studio

DO NOT let Android SDK or Android Studio to install NDK on OS X, or you will end up in a mess of file permissions and build errors. DO install them using Homebrew or any package manager.

Create Project

  1. git clone Telegram repository to some path;
  2. Launch Android Studio, select "Import" from welcome page and select that path;
  3. Config code signing keys if needed;
  4. If Android Studio needs a Gradle sync, sync it;
  5. Android Studio will ask if you want to install missing dependencies (maybe once or twice). Install as instructed.

Build NDK Libraries

  1. Fire up a terminal;
  2. cd to project_root/TMessagesProj/jni;
  3. run ndk-build.

On build success, you will see the following files:

├── armeabi
│   └──
├── armeabi-v7a
│   └──
└── x86

where xx is a version number.

Customize APK

Fill API keys

Find project_root/TMessagesProj/src/main/java/org/telegram/messenger/, copy it to in the same folder, and fill all the API keys. That file is self-explainary.


  • If you need a debug version, set DEBUG_VERSION to be true. This will enable various debugging and logging functions.
  • Visit for the most recent value of BUILD_VERSION. Telegram servers use this value to determine if certain type of messages are supported and send a fallback value if not. A wrong value may cause fatals since message types change day by day.
  • For HOCKEY_APP_HASH and HOCKEY_APP_HASH_DEBUG, you can use any random 32 digit HEX number (for example, the MD5 of any sentence you like) in string format if you don't want to use Hockey. A wrong length will cause fatal error.
  • Do not change GCM_SENDER_ID, or GCM will be completely unusable.

Edit Package Identifier and Version

Open project_root/TMessagesProj/build.gradle, add the following content before last }:

    productFlavors {
        some_name {
            applicationId "com.example.some_name"
            versionCode 123
            versionName '0.0.1'

then modify it on your needs.

Edit Name

Edit all string.xml in project_root/TMessagesProj/src/main/res/values*, modify the following line:

<string name="AppName">some_name</string>

Note: it may be faster using Translation Editor of Android Studio.

Build APK

  1. Ensure you have built NDK libraries;
  2. Select Build -> Generate Signed APK… from Android Studio.

Once you see a log entry like APK(s) generated successfully, find your APK under project_root/TMessagesProj/TMessagesProj-your_flavor_name-release.apk.

Telegram messenger for Android

Telegram is a messaging app with a focus on speed and security. It’s 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:

MTproto protocol manuals:


Beware of using the dev branch and uploading it to any markets, in many cases it not will work as expected.

First of all, take a look at src/main/java/org/telegram/messenger/ and fill it with correct values. Import the root folder into your IDE (tested on Android Studio), then run project.


We moved all translations to Please use it.