javaschematelegramlayer

Telegram Latest Layer


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. Can anyone help me?


Solution

  • 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