aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 8c6e9ba1e6f7be2b902c7c741e482e7d1a411a04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# easy-tg

Easy-to-use helpers for TDLib JSON.

**Not completely tested yet.**

## Dependencies

* tdlib

* json-c

* pthread (if you compile with `TG_ENABLE_PTHREAD`)

## Functions

* Automatically handles authorization state changes.

* Various helper functions.

## Supported platforms

* Any platform that `json-c` supports,

* Any platform that `tdjson` supports, and

* Any platform that supports C99.

## How to use

See `example.c`. Put your API keys into `build` then run it.

## License

Copyright Yuuta Liang, Apache 2.0. Originally published at https://git.yuuta.moe/easy-tg.git