7 releases (4 breaking)
0.5.0 | Oct 18, 2024 |
---|---|
0.4.0 | Sep 14, 2024 |
0.3.0 | Sep 11, 2024 |
0.2.0 | Sep 11, 2024 |
0.1.2 | Sep 6, 2024 |
#719 in Network programming
707 downloads per month
16KB
193 lines
Telegrax
Send messages as a Telegram bot.
The library focuses on sending messages for now, at least in version 1. Later, other functions may be added if needed.
Quickstart
For a quickstart, see examples. For installation from package repository, see crates.io. For API references, see doc.rs.
Test
# Create a proper configuration.
cp config.test.example.json config.test.json
vim config.test.json
chmod 600 config.test.json
# Run all tests.
cargo test
# Validate lints.
rustup component add clippy
cargo clippy
lib.rs
:
Send messages as a Telegram bot.
The library focuses on sending messages for now, at least in version 1. Later, other functions may be added if needed.
Example
Dependencies
~3–4.5MB
~81K SLoC