Crates.io | grammers-client |
lib.rs | grammers-client |
version | 0.7.0 |
source | src |
created_at | 2020-01-31 12:03:46.878473 |
updated_at | 2024-09-17 16:33:11.082962 |
description | A high level client to interact with Telegram's API. |
homepage | https://github.com/Lonami/grammers |
repository | https://github.com/Lonami/grammers |
max_upload_size | |
id | 203612 |
size | 507,435 |
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;