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

Download history 220/week @ 2024-09-03 622/week @ 2024-09-10 20/week @ 2024-09-17 7/week @ 2024-09-24 28/week @ 2024-10-01 130/week @ 2024-10-15 11/week @ 2024-10-22

707 downloads per month

Apache-2.0

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