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
use std::error::Error;
use telegram_bots_api::api::requests::sync::Requests;
use telegram_bots_api::clients::sync::Sync;

fn main() -> Result<(), Box<dyn Error>> {
    let response = Sync::from_env().get_me().unwrap();

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

    Ok(())
}