#mt-proto #telegram #grammar

grammers-client

A high level client to interact with Telegram's API

7 releases (breaking)

0.7.0 Sep 17, 2024
0.6.0 May 3, 2024
0.5.0 Nov 18, 2023
0.4.0 Oct 14, 2022
0.1.0 Jan 31, 2020

#153 in Web programming

Download history 489/week @ 2024-12-07 466/week @ 2024-12-14 270/week @ 2024-12-21 83/week @ 2024-12-28 100/week @ 2025-01-04 215/week @ 2025-01-11 256/week @ 2025-01-18 198/week @ 2025-01-25 581/week @ 2025-02-01 219/week @ 2025-02-08 288/week @ 2025-02-15 318/week @ 2025-02-22 220/week @ 2025-03-01 367/week @ 2025-03-08 315/week @ 2025-03-15 236/week @ 2025-03-22

1,166 downloads per month
Used in 4 crates

MIT/Apache

1MB
15K 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

~6–17MB
~224K SLoC