#mt-proto #telegram

grammers-client

A high level client to interact with Telegram's API

9 releases (breaking)

Uses new Rust 2024

new 0.8.1 Nov 4, 2025
0.7.0 Sep 17, 2024
0.6.0 May 3, 2024
0.5.0 Nov 18, 2023
0.1.0 Jan 31, 2020

#104 in Web programming

Download history 368/week @ 2025-07-21 213/week @ 2025-07-28 179/week @ 2025-08-04 403/week @ 2025-08-11 326/week @ 2025-08-18 252/week @ 2025-08-25 432/week @ 2025-09-01 373/week @ 2025-09-08 314/week @ 2025-09-15 320/week @ 2025-09-22 362/week @ 2025-09-29 261/week @ 2025-10-06 736/week @ 2025-10-13 1299/week @ 2025-10-20 828/week @ 2025-10-27 1052/week @ 2025-11-03

3,954 downloads per month
Used in 3 crates

MIT/Apache

800KB
14K SLoC

grammers-client

This library is a higher-level interface to interact with Telegram's API.

It contains the code necessary to create a client, connect to the API and make Remote Procedure Calls (RPC) to it, such as signing in or sending a message.

The library is in development, but new releases are only cut rarely. Specifying the dependency from the git repository is recommended:

grammers-client = { git = "https://github.com/Lonami/grammers" }

Please note that traits across versions are not always compatible. If you depend on other grammers- crates, be sure all of them use a compatible version (e.g. all of them using git).

Note that grammers-tl-types (needed to client.invoke "raw" functions) is currently re-exported from within this crates, so it's easier to use the re-export than to depend on the crate separatedly:

use grammers_client::grammers_tl_types as tl;

Dependencies

~7–22MB
~282K SLoC