Telegram TL v0.0.7-alpha TL.Schema

Parse and search the MTProto TL-schema (See core.telegram.org/schema/mtproto) and the API TL-schema (See core.telegram.org/schema).

Summary

Functions

Parse the Telegram API TL-schema and returns a map

Return the version of the API layer used

Parse the MTProto TL-schema and returns a map

Functions

api()

Parse the Telegram API TL-schema and returns a map.

api_layer_version()

Return the version of the API layer used.

search(key, content, schema \\ :both)

Search the schema(s).

  • key - example : "predicate"
  • content - example : "ping"
  • schema - schema to search into, either :tl, :api or :both (default).
tl()

Parse the MTProto TL-schema and returns a map.