Module grammers_mtproto::mtp

source ·
Expand description

Implementation of the Mobile Transport Protocol. This layer is responsible for converting zero or more input requests into outgoing messages, and to process the response.

A distinction between plain and encrypted is made for simplicity (the plain hardly requires to process any state) and to help prevent invalid states (encrypted communication cannot be made without an authorization key).

Structs§

Enums§

  • The error type for the deserialization of server messages.
  • This error occurs when a Remote Procedure call was unsuccessful.

Constants§

Traits§