TDLib 1.3.0
This commit is contained in:
parent
c6ff1e1387
commit
74bc598956
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
TAG := v1.2.0
|
TAG := v1.3.0
|
||||||
|
|
||||||
schema-update:
|
schema-update:
|
||||||
curl https://raw.githubusercontent.com/tdlib/td/${TAG}/td/generate/scheme/td_api.tl 2>/dev/null > ./data/td_api.tl
|
curl https://raw.githubusercontent.com/tdlib/td/${TAG}/td/generate/scheme/td_api.tl 2>/dev/null > ./data/td_api.tl
|
||||||
|
|
11
README.md
11
README.md
|
@ -1,6 +1,6 @@
|
||||||
# go-tdlib
|
# go-tdlib
|
||||||
|
|
||||||
Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td) with full support of TDLib v1.2.0
|
Go wrapper for [TDLib (Telegram Database Library)](https://github.com/tdlib/td) with full support of TDLib v1.3.0
|
||||||
|
|
||||||
## TDLib installation
|
## TDLib installation
|
||||||
|
|
||||||
|
@ -20,6 +20,7 @@ apt-get install -y tdlib-dev
|
||||||
```bash
|
```bash
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
|
bc \
|
||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
ccache \
|
ccache \
|
||||||
|
@ -29,12 +30,12 @@ apt-get install -y \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
libreadline-dev \
|
libreadline-dev \
|
||||||
zlib1g-dev
|
zlib1g-dev
|
||||||
git clone --depth 1 -b "v1.2.0" "https://github.com/tdlib/td.git" ./tdlib-src
|
git clone --depth 1 -b "v1.3.0" "https://github.com/tdlib/td.git" ./tdlib-src
|
||||||
mkdir ./tdlib-src/build
|
mkdir ./tdlib-src/build
|
||||||
cd ./tdlib-src/build
|
cd ./tdlib-src/build
|
||||||
cmake -j$(getconf _NPROCESSORS_ONLN) -DCMAKE_BUILD_TYPE=Release ..
|
cmake -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) -DCMAKE_BUILD_TYPE=Release ..
|
||||||
cmake -j$(getconf _NPROCESSORS_ONLN) --build .
|
cmake -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) --build .
|
||||||
make -j$(getconf _NPROCESSORS_ONLN) install
|
make -j$(echo 'scale=0; ('$(getconf _NPROCESSORS_ONLN)'+1)*3/4' | bc) install
|
||||||
rm -rf ./../../tdlib-src
|
rm -rf ./../../tdlib-src
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
1430
client/function.go
1430
client/function.go
File diff suppressed because it is too large
Load diff
3740
client/type.go
3740
client/type.go
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
2808
data/td_api.json
2808
data/td_api.json
File diff suppressed because it is too large
Load diff
739
data/td_api.tl
739
data/td_api.tl
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue