I asked one question about telegram layer some months ago and got true answer in this page , but now i have a same question because older answer is not working now.
i want updated telegram Schema and Json to updating my own library. any one can help me?
What you need is Telegram’s latest schema which you can always get from this link.
It is taken from the official Telegram Desktop repo on GitHub
The current Layer is 66
You can build your own converter to transform this file into a Telegram parser library in your preferred programming language.
Whenever the Layer changes, you simply re-run your converter and you have a TL-Parser for the latest version.
Also, you need to place the new and old TL schema side by side in a text editor that can show you the differences between the two schema (I use a file-difference plugin for Notepad++)
This difference shows you clearly what you need to change/include in your Telegram application to handle the changes in the new Layer.
2
Answers
What you need is Telegram’s latest schema which you can always get from this link.
It is taken from the official Telegram Desktop repo on GitHub
The current Layer is 66
You can build your own converter to transform this file into a Telegram parser library in your preferred programming language.
Whenever the Layer changes, you simply re-run your converter and you have a TL-Parser for the latest version.
Also, you need to place the new and old TL schema side by side in a text editor that can show you the differences between the two schema (I use a file-difference plugin for Notepad++)
This difference shows you clearly what you need to change/include in your Telegram application to handle the changes in the new Layer.
EDIT
The new layer with voice calls is Layer 66:
https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/scheme.tl
You can get the latest layers in both
.TL
and.JSON
format from this repository.