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

Returns the Telegram API TL-schema

Return the version of the API layer used

Search descriptors in the schema(s)

Search the schema(s)

Returns the MTProto TL-schema

Functions

api()

Returns the Telegram API TL-schema.

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()

Returns the MTProto TL-schema.