Telegram TL v0.0.9-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

Search descriptors in the schema(s)

Search the schema(s)

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, container)

Search descriptors in the schema(s)

  • key
  • container
search(key, content, schema)

Search the schema(s).

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

Parse the MTProto TL-schema and returns a map.