[−][src]Crate grammers_mtproto
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. |
errors | Errors that can occur when using the library's functions. |
transports | Implementation of the several MTProto transports. |
Structs
MsgId | A Message Identifier. |
Mtp | An implementation of the Mobile Transport Protocol for ciphertext (encrypted) messages. |
PlainMtp | An implementation of the Mobile Transport Protocol for plaintext (unencrypted) messages. |
Constants
DEFAULT_COMPRESSION_THRESHOLD | The default compression threshold to be used. |