| Crates.io | telegram_bot_oxidebot |
| lib.rs | telegram_bot_oxidebot |
| version | 0.1.2 |
| created_at | 2024-08-20 14:30:58.463426+00 |
| updated_at | 2024-09-09 17:04:01.344958+00 |
| description | Telegram Bot for oxidebot framework |
| homepage | https://github.com/canxin121/telegram_bot_oxidebot |
| repository | https://github.com/canxin121/telegram_bot_oxidebot |
| max_upload_size | |
| id | 1345316 |
| size | 138,280 |
cargo add telegram_bot_oxidebot
Example
#[tokio::main]
async fn main() {
tracing_subscriber::fmt::init();
let manager = oxidebot::OxideBotManager::new()
.bot(TelegramBot::new("token".to_string(), Default::default()).await)
.await;
manager.run_block().await;
}