telegram_bots_api 0.710.0

Telegram bots api simple rust wrapper, and no more.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::error::Error;
use telegram_bots_api::api::requests::r#async::Requests;
use telegram_bots_api::clients::r#async::Async;

#[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> {
    let response = Async::from_env().get_me().await?;

    println!("{:#?}", response);

    Ok(())
}