Telegram MT v0.1.1-alpha MTProto.API View Source
Provides basics methods of Telegram’s API. You may want to take a look to the current TL-schema.
Note : the latest API layer on Telegram’s documentation is API layer 23. A more recent (but undocumented?) schema can be found in the sources of the official Telegram Desktop client , currently (Apr. 2017) layer 66.
Link to this section Summary
Functions
Initializes connection and save information on the user’s device and application
This method wrap the given query
telling receiver (Telegram) that we use
the API layer number layer
Link to this section Functions
Initializes connection and save information on the user’s device and application.
This method wrap the given query
telling receiver (Telegram) that we use
the API layer number layer
.
A layer is a collection of updated methods or constructors in a TL schema. Each layer is numbered with sequentially increasing numbers starting with 2. The first layer is the base layer — the TL schema without any changes.