move gotd fork into repo. (#111)
- update to latest telegram layer - remove some references to fields in tg.Entities that don't exist in the schema - originally added here: https://github.com/beeper/td/commit/820929062a2ba0104397bc01235ab58a9cff780e - referenced here - https://github.com/mautrix/telegramgo/commit/124f0967ed195b5a380c9bd02e170ada9710dde3 - https://github.com/mautrix/telegramgo/commit/4205047aab2e0639217148b5d125bfaab668bd8e
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2020 Aleksandr Razumov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,26 @@
|
||||
generate:
|
||||
go generate
|
||||
go generate ./...
|
||||
.PHONY: generate
|
||||
|
||||
download_schema:
|
||||
go run ./cmd/dltl -base https://raw.githubusercontent.com/tdlib/td -branch master -dir td/generate/scheme -f telegram_api.tl -o _schema/tdlib.tl
|
||||
go run ./cmd/dltl -base https://raw.githubusercontent.com/telegramdesktop/tdesktop -branch dev -dir Telegram/SourceFiles/mtproto/scheme -f api.tl -o _schema/tdesktop.tl
|
||||
go run ./cmd/dltl -base https://raw.githubusercontent.com/telegramdesktop/tdesktop -branch dev -dir Telegram/SourceFiles/mtproto/scheme -f api.tl -merge _schema/legacy.tl -o _schema/telegram.tl
|
||||
.PHONY: download_schema
|
||||
|
||||
download_public_keys:
|
||||
go run ./cmd/dlkey -o internal/mtproto/_data/public_keys.pem
|
||||
.PHONY: download_public_keys
|
||||
|
||||
download_e2e_schema:
|
||||
go run ./cmd/dltl -f secret_api.tl -o _schema/encrypted.tl
|
||||
.PHONY: download_e2e_schema
|
||||
|
||||
download_tdlib_schema:
|
||||
go run ./cmd/dltl -f td_api.tl -o _schema/tdapi.tl
|
||||
.PHONY: download_tdlib_schema
|
||||
|
||||
check_generated: generate
|
||||
git diff --exit-code
|
||||
.PHONY: check_generated
|
||||
@@ -0,0 +1 @@
|
||||
forked from github.com/beeper/td which is forked from github.com/gotd/td
|
||||
@@ -0,0 +1 @@
|
||||
!и
|
||||
@@ -0,0 +1 @@
|
||||
�
|
||||
@@ -0,0 +1 @@
|
||||
!�R
|
||||
@@ -0,0 +1 @@
|
||||
��
|
||||
@@ -0,0 +1 @@
|
||||
^�
|
||||
@@ -0,0 +1 @@
|
||||
��
|
||||
@@ -0,0 +1 @@
|
||||
P�
|
||||
@@ -0,0 +1 @@
|
||||
+
|
||||
@@ -0,0 +1 @@
|
||||
��
|
||||
@@ -0,0 +1 @@
|
||||
�
|
||||
@@ -0,0 +1 @@
|
||||
ro
|
||||
@@ -0,0 +1,8 @@
|
||||
@B®tĵ�å7îl†�2åݽ
|
||||
B®rĵ@½O®îl†�2åݽ
|
||||
l†tĵe½O®îl†�2åݽ
|
||||
l†tĵenO®îl†�2åݽ
|
||||
l†tĵe½O®îl†�2åݽ
|
||||
B®rĵ@½O®îl†�2åݽ
|
||||
l†tĵe½O®îl†�2åݽ
|
||||
l†t
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
в`b~
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
'iH\�oヨ�
|
||||
@@ -0,0 +1 @@
|
||||
cwΥ¦Δµr’O®»εΠΊ8+g
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B®tĵ—é iÙºbÉ9®Xèör’O®»åк8+67cö¢²ñ˜^¬ú(A½-89¬«Ñ;~02
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B╝tд╣≈И─≈д╣ь©О≈д╣513D√сX└⌠%и<ё+и
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
^�ا^�اO�=�
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B╝tд╣≈И═O▒5
|
||||
@@ -0,0 +1 @@
|
||||
µur™
|
||||
@@ -0,0 +1,2 @@
|
||||
@B®tĵ�å5PÀT2åݽ
|
||||
Q�ğ
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B®tĵ‚åO"Kj$2åݽﹽïµur™"Kj$2åݽﹽµur™"Kj$2åݽﹽïµur™"Kj$2åݽd¹½ïµur™"Kj$2åݽµur™"Kj$2åݽﹽïµur™"Kj$2åݽﹽïµur™"Kj$2åݽµur™"Kj$2åݽﹽïµur™
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
耨t
|
||||
@@ -0,0 +1 @@
|
||||
致�
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
^c‰=‰tPhotoEmpty#Ο†�ΉΟ†�ΉΟ†�Ή
|
||||
@@ -0,0 +1 @@
|
||||
:_�
|
||||
@@ -0,0 +1 @@
|
||||
@B®tĵ—é iŮşbÉ9®X€čfr’O®»ĺĐş8+67@cö˘˛B®tĵ—Ä0‹~NśˇĎr—Ä0‹~NśGo-h—Ä0‹~NśGo-http-‹~Nśnttp-Ä0‹~Nśˇ‹~N
|
||||
@@ -0,0 +1 @@
|
||||
@B®tĵ—Õ´iÙºbÉ9®X€èfr’O®»åк8+67@cö¢²B®tĵ—ª0XÊ-589423932399XÊ-5'‹9¡Ïr2Tt0XÊ-5894239932399XÊ-5' of type ÄXÊ-510wßO<ÒÜ÷;0XÊ-58ºbÉ94—ª0XÊ-589423932399XÊ-5'‹9¡Ïr2Tt0XÊ-5894239932399XÊ-5' of type ÄXÊ-5
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B®tĵ—é€E;‰‰½¿ï—ĵ4‹E;‰‰½¿ï—ĵ4‹E;‰‰½¿ï—ĵ4‹E;‰‰½B®tĵun;‰
|
||||
@@ -0,0 +1 @@
|
||||
鶏B�
|
||||
@@ -0,0 +1 @@
|
||||
'Ӧv
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B®tΔµ—ι iαG5η
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
@B╝tд╣une[ю
|
||||
@@ -0,0 +1 @@
|
||||
g░д╣≈И═iо├┬╧
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
@B®tĵenexk«ÉfS
|
||||
-1nexk«ÉfSň�łľxk«ÉfS
|
||||
-6nexk«ÉfS
|
||||
-1nexk«ÉfSň�łnexk«ÉfS
|
||||
-1nexk«ÉfSňľxk
|
||||
@@ -0,0 +1 @@
|
||||
々)
|
||||
Binary file not shown.
@@ -0,0 +1 @@
|
||||
ァミ!ロogPe
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user