telefy

Crates.iotelefy
lib.rstelefy
version1.0.1
created_at2025-11-25 21:22:43.824175+00
updated_at2025-11-28 16:52:16.341136+00
descriptionA crate to send logging messages to telegram
homepage
repositoryhttps://github.com/darrkenn/telefy
max_upload_size
id1950463
size44,701
darrkenn (darrkenn)

documentation

README

telefy

A library for sending logging messages to telegram.

Example

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let token = "TOKEN".to_string();
    let chat_id = "CHAT_ID".to_string();

    //Create bot
    TelefyBot::new(token, chat_id)?;

    //Create and send message
    let message = "Hello I am a bot".to_string();
    telefy::message!(message);
}
Commit count: 0

cargo fmt