telefy 1.0.1

A crate to send logging messages to telegram
Documentation
  • Coverage
  • 0%
    0 out of 9 items documented0 out of 5 items with examples
  • Size
  • Source code size: 44.7 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 128.8 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 38s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • darrkenn/telefy
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • darrkenn

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);
}