Telegram-TL

This library allows you to serialize and deserialize elements of the TL Language. It was originally designed to be used by telegram-mt-elixir.

The package and its documentation are on hex.pm.

Configuration

If no configuration is specified, the API layer 57 [1] will be used. Although this library was only tested with the above layer version, you can specify a custom source in you config.exs :

config :telegram_tl, tl_path: "/path/to/mtproto.json",
                     api_version: 57,
                     api_path: "/path/to/api-layer-57.json"

[1] : the last documented version is API layer 23.