#mt-proto #telegram-api #telegram #tl

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

#150 in Web programming

Download history 420/week @ 2024-12-16 184/week @ 2024-12-23 86/week @ 2024-12-30 107/week @ 2025-01-06 270/week @ 2025-01-13 221/week @ 2025-01-20 283/week @ 2025-01-27 493/week @ 2025-02-03 257/week @ 2025-02-10 283/week @ 2025-02-17 293/week @ 2025-02-24 232/week @ 2025-03-03 390/week @ 2025-03-10 319/week @ 2025-03-17 263/week @ 2025-03-24 280/week @ 2025-03-31

1,304 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
~220K SLoC