![]() ![]() A TL-Schema is a collection of available types and functions. Type Language, or TL, is used to represent types and functions used by the API. For example, reading the contents of a conversation involves calling the messages.getMessage function with the necessary parameters and receiving a messages.Messages in return. ![]() The Telegram API is RPC-based, so interacting with the API involves sending a payload representing a function invocation and receiving a result. On the other hand, we do need to understand the payload format in order to make API calls. Fortunately, we don’t need to concern ourselves with it directly when using a client library. It is an application layer protocol which writes directly to an underlying transport stream such as TCP or UDP, and also HTTP. MTProto is the custom encryption scheme which backs Telegram’s promises of security.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |