1
0
mirror of https://github.com/danog/schema.tl.git synced 2024-11-26 12:04:48 +01:00
This commit is contained in:
TJ Horner 2017-08-21 22:02:44 -07:00
parent 7830af3338
commit 0ee155190b
2 changed files with 12 additions and 1 deletions

View File

@ -7,6 +7,7 @@ An AngularJS app to search and view the Telegram API TL-schema in a beautiful wa
## 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
@ -21,4 +22,10 @@ Search is blazing fast since everything is local.
You can use the playground on constructor and method pages to easily test the API with [Telegram for Devs](https://tjhorner.com/webogram).
![](https://i.imgur.com/vEBEWqq.png)
![](https://i.imgur.com/vEBEWqq.png)
### 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!
![](https://i.imgur.com/9vcRYxy.png)

View File

@ -1,6 +1,10 @@
<div class="content-inner">
<h1 class="title title-constructor">{{ constructor.predicate }}#{{ constructor.id | toHex }}</h1>
<a class="ic-docs" href="https://github.com/tjhorner/schema.tl/edit/master/docs/constructors/{{ constructor.predicate }}.md">Help document this method</a>
<div btf-markdown ng-include="'/docs/constructors/' + constructor.predicate + '.md'"></div>
<h2>Fields</h2>
<table ng-show="constructor.params.length">