use teloxide::prelude::*;
#[tokio::main]
async fn main() {
let bot = Bot::new(std::env::var("TELEGRAM_BOT_TOKEN").expect("missing TELEGRAM_BOT_TOKEN"));
teloxide::repl(bot, |msg: Message| async move {
println!("chat_id = {}", msg.chat.id.0);
respond(())
})
.await;
}