Skip to content
πŸ“œ Elegantly designed TL-Schema viewer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css
docs
fonts
img
js [chore] Update to layer 98 Apr 7, 2019
resources
tools
views
CNAME Update CNAME Sep 3, 2017
LICENSE
README.md update readme Feb 19, 2019
genmd.js Doc Le Men Tation Aug 22, 2017
index.html github star button Apr 6, 2019

README.md

TL-Schema Explorer

An AngularJS app to search and view the Telegram API TL-schema in a beautiful way.

Features

  • Search and view TL-schema constructors, types, and methods
  • Community-driven documentation
  • Easy testing of constructors and methods with the playground
  • Easy access to schema.json and schema.tl
  • Always up-to-date

Search

Search is blazing fast since everything is local.

Playground

You can use the playground on constructor and method pages to easily test the API with Telegram for Devs.

Updating the Schema

There's a bot that checks for schema updates twice a day and submits a PR updating the schema in this repo. Neat!

If you find that the schema is out-of-date (check here), you can submit a PR if I don't update it in a timely manner (I don't monitor it 24/7!):

  1. Update the SCHEMA_GLOBAL and LAYER_NUMBER in js/schema.js.
  2. Replace resources/schema.json with the current schema in JSON format (prettify it, pretty please).
  3. Replace resources/schema.tl with the current schema in Type-Language format.
  4. Update the layer number in index.html.

That's it. Submit your PR and I'll accept it ASAP.

Documentation

Anyone in the community can add documentation to constructors or methods. To do so, click the "Help document this method" button, make your changes, and submit a pull request. Simple as that!

You can’t perform that action at this time.