use maxbot::MaxClient;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let client = MaxClient::from_env().expect("Missing MAXBOT_TOKEN");
// Запрашиваем информацию о боте
let me = client.get_me().await?;
println!("Bot: {} (@{})", me.user.first_name, me.user.username.unwrap_or_default());
Ok(())
}