telegram-notify 1.0.0

Tiny async Rust crate for sending Telegram bot messages
Documentation
1
2
3
4
5
6
7
use telegram_notify::send;

#[tokio::main]
async fn main() -> Result<(), telegram_notify::NotifyError> {
    send("trade executed").await?;
    Ok(())
}