Crate grammers_mtproto

Source
Expand description

This library is an implementation of the Mobile Transport Protocol.

It is capable of efficiently packing enqueued requests into message containers to later be encrypted and transmitted, and processing the server responses to maintain a correct state.

Modules§

authentication
Contains the steps required to generate an authorization key.
mtp
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.
transport
Implementation of the several MTProto transports. This layer is responsible for taking serialized messages from the MTP and packing them in a format that can be sent over a protocol, such as TCP, HTTP or UDP.

Structs§

MsgId
A Message Identifier.

Constants§

DEFAULT_COMPRESSION_THRESHOLD
The default compression threshold to be used.