telegram library
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
crypto Avoid plain http, skip redirect. Oct 19, 2015
tl-parser @ 36bf190 updated tl-parser Oct 17, 2015
.gitignore Provide autoheader and autoconf results. Oct 1, 2015
.gitmodules Added tl-parser submodule Nov 12, 2014
CHANGELOG small fixes Jun 18, 2015
LICENSE Added LGPL license text Nov 12, 2014
Makefile.in Make source for mime-types.c more obvious Nov 15, 2015
Makefile.tl-parser Adapt to updated tl-parser. Oct 4, 2015
README.md Fix typo in readme Nov 29, 2015
append.tl updated to layer 28 May 1, 2015
auto-static-autocomplete.c Fix support for --disable-extf Nov 15, 2015
auto-static-fetch.c Fix support for --disable-extf Nov 15, 2015
auto-static-print-ds.c Drop extf code when using --disable-extf Nov 15, 2015
auto-static-skip.c many fixes Apr 16, 2015
auto-static-store.c Fix support for --disable-extf Nov 15, 2015
auto-static.c many fixes Apr 16, 2015
auto.h many fixes Apr 22, 2015
binlog.c support for layer 42 Nov 25, 2015
binlog.tl tgl: try to add partial channel support Sep 25, 2015
config.h.in Adapt to updated tl-parser. Oct 4, 2015
configure Fix bad usage of bswap Dec 30, 2015
configure.ac Fix bad usage of bswap Dec 30, 2015
encrypted_scheme.tl Only provide one scheme. Nov 15, 2015
errors fixes Oct 10, 2015
event-old.h Added file to work with old versions of libevent Nov 12, 2014
gen_constants_h.awk updated to layer 28 May 1, 2015
generate.c some fixes to indents from @EionRobb commit. Jan 8, 2016
generate.h many fixes Apr 16, 2015
m4_ax_check_openssl.m4 tgl: initial commit Nov 12, 2014
m4_ax_check_zlib.m4 tgl: initial commit Nov 12, 2014
mime-types.c some fixes. Jan 4, 2016
mime.types some fixes. Jan 4, 2016
mtproto-client.c Fix bad usage of bswap Dec 30, 2015
mtproto-client.h fixes Oct 10, 2015
mtproto-common.c some fixes to windows pull request Nov 9, 2015
mtproto-common.h Allow compiling on Windows Oct 22, 2015
mtproto-key.c fixes Oct 5, 2015
mtproto-key.h fixes Oct 5, 2015
mtproto-utils.c Fix bad usage of bswap Dec 30, 2015
mtproto-utils.h Split along bn.h (skip when bisecting). Oct 1, 2015
mtproto.tl fixed bug Dec 15, 2014
no-preview.h support for 22 layer Jan 11, 2015
queries-encrypted.c Support cancelling secret chats Dec 19, 2015
queries.c fixed dialog_list Jan 18, 2016
queries.h try to speed up startup Oct 1, 2015
scheme.tl updated to layer 45 Jan 5, 2016
structures.c tgl: fix Mar 23, 2016
tg-mime-types.c Merge branch 'master' of github.com:vysheng/tgl Jan 14, 2015
tg-mime-types.h fixed encrypted documents Jan 14, 2015
tgl-binlog.h Allow creating secret chat with print name Nov 8, 2015
tgl-fetch.h added entity support Oct 26, 2015
tgl-inner.h tgl: added possiblility to send custom keyboard Jun 17, 2015
tgl-layout.h tgl: small fixes Nov 30, 2015
tgl-methods-in.h pre release May 14, 2015
tgl-net-inner.h support for 22 layer Jan 11, 2015
tgl-net.c Allow compiling on Windows Oct 22, 2015
tgl-net.h support for 22 layer Jan 11, 2015
tgl-queries.h Support cancelling secret chats Dec 19, 2015
tgl-structures.h fixed crash in messge_delete Oct 14, 2015
tgl-timers.c support for 22 layer Jan 11, 2015
tgl-timers.h support for 22 layer Jan 11, 2015
tgl.c some more missing frees Oct 14, 2015
tgl.h updated to layer 45 Jan 5, 2016
tools.c Allow compiling on Windows Oct 22, 2015
tools.h Merge branch 'master' of https://github.com/schroedingersZombie/tgl Nov 24, 2015
tree.h support for 22 layer Jan 11, 2015
updates.c updated to layer 45 Jan 5, 2016
updates.h tgl: try to add partial channel support Sep 25, 2015

README.md

This is library that handles telegram api and protocol.

Current versions:

  • scheme.tl: Layer 38
  • encrypted_scheme.tl: Layer 23

API, Protocol documentation

Documentation for Telegram API is available here: https://core.telegram.org/api

Documentation for MTproto protocol is available here: https://core.telegram.org/mtproto

Installation

Clone GitHub Repository

 git clone --recursive  https://github.com/vysheng/tgl.git && cd tgl

Linux and BSDs

Install libs: openssl, zlib if you want to use provided net/timers then install libevent and add --enable-libevent key to configure

You can also avoid the OpenSSL dependency: Install gcrypt (>= 1.60, Debian derivates know it as "libgcrypt20-dev"), and add --disable-openssl key to configure

Then,

 ./configure
 make

Contacts

If you would like to ask a question, you can write to my telegram or to the github (or both). To contact me via telegram, you should use import_card method with argument 000653bf:0738ca5d:5521fbac:29246815:a27d0cda