telegram-s/telegram-mt-old


Java MTProto implementation http://telegram.org/

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.ex3ndr:telegram-mt:-SNAPSHOT'
	}
	dependencies {
		implementation("com.github.ex3ndr:telegram-mt:-SNAPSHOT")
	}
	<dependency>
	    <groupId>com.github.ex3ndr</groupId>
	    <artifactId>telegram-mt</artifactId>
	    <version>-SNAPSHOT</version>
	</dependency>

                            
    libraryDependencies += "com.github.ex3ndr" % "telegram-mt" % "-SNAPSHOT"
        
        

                            
    :dependencies [[com.github.ex3ndr/telegram-mt "-SNAPSHOT"]]
        
        

Readme


Java MTProto Implementation

Mobile Transport protocol used in Telegram project and designed for speed and security over weird mobile networks.

This is library of MTProto implementation for java. Now it used in our production-ready product Telegram S.

MTProto build server

Including in your project

Dependencies

This project depends only on tl-core library

Binary usage

You may download distribution at releases page and include it to your project.

Compilation from sources

  1. Checkout this repo to mtproto folder
  2. Checkout tl-core repo to tl-core folder
  3. Execute gradle build from mtproto folder

More information

MTProto documentation

English: http://core.telegram.org/mtproto

Russian: http://dev.stel.com/mtproto

Type Language documentation

English: http://core.telegram.org/mtproto/TL

Russian: http://dev.stel.com/mtproto/TL

####Telegram project

http://telegram.org/

Android Client that uses this library

Telegram S

Licence

Compiler uses MIT Licence