Crate mini_telegram

source ·
Expand description

A minimal (i.e. very incomplete) implementation of a MTProto (telegram) server.

The purpose of this project is to provide a larger example of an asynchronous Rust project built with Tokio. Do not attempt to run this in production… seriously.

The major components are:

  • server: MTProto(telegram) server implementation.

  • client: an asynchronous MTProto client implementation.

  • frame: represents a single MTProto protocol frame. A frame is used as an intermediate representation between a “command” and the byte representation.

Functions