telegrax

Telegram Bot APIs

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
Download history 148/week @ 2024-08-31 517/week @ 2024-09-07 194/week @ 2024-09-14 3/week @ 2024-09-21 34/week @ 2024-09-28 1/week @ 2024-10-05 90/week @ 2024-10-12 49/week @ 2024-10-19 2/week @ 2024-10-26

147 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