Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Tele Api

Example for use

use TeleApi; 

#[tokio::main]
async fn main() -> Result<(), anyhow::Error> {
    let bot = TeleApi::TeleApi::new(""); // Telegram bot token

    let chat_id: i64 = 123456789;
    let text = "Hi TeleApi";

    bot.sendMessage(params!("chat_id" => chat_id, "text" => text)).await?;

    Ok(())
}

Community

About

A package help telegram bots developers

Topics

Resources

Stars

7 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages