Skip to content
telegram library
C M4 Other
Branch: master
Clone or download
Pull request Compare This branch is even with vysheng:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
crypto
tl-parser @ 36bf190
.gitignore
.gitmodules
CHANGELOG
LICENSE
Makefile.in
Makefile.tl-parser
README.md
append.tl
auto-static-autocomplete.c
auto-static-fetch.c
auto-static-print-ds.c
auto-static-skip.c
auto-static-store.c
auto-static.c
auto.h
binlog.c
binlog.tl
config.h.in
configure
configure.ac
encrypted_scheme.tl
errors
event-old.h
gen_constants_h.awk
generate.c
generate.h
m4_ax_check_openssl.m4
m4_ax_check_zlib.m4
mime-types.c
mime.types
mtproto-client.c
mtproto-client.h
mtproto-common.c
mtproto-common.h
mtproto-key.c
mtproto-key.h
mtproto-utils.c
mtproto-utils.h
mtproto.tl
no-preview.h
queries-encrypted.c
queries.c
queries.h
scheme.tl
structures.c
tg-mime-types.c
tg-mime-types.h
tgl-binlog.h
tgl-fetch.h
tgl-inner.h
tgl-layout.h
tgl-methods-in.h
tgl-net-inner.h
tgl-net.c
tgl-net.h
tgl-queries.h
tgl-structures.h
tgl-timers.c
tgl-timers.h
tgl.c
tgl.h
tools.c
tools.h
tree.h
updates.c
updates.h

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

You can’t perform that action at this time.