tbot 0.2.0

Make cool Telegram bots with Rust easily.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use tbot::prelude::*;

fn main() {
    let bot = tbot::bot!("BOT_TOKEN");

    let get_me = bot
        .get_me()
        .into_future()
        .map_err(|err| {
            dbg!(err);
        })
        .map(|me| {
            dbg!(me);
        });

    tbot::run(get_me);
}