pass_manager/src/handlers/commands/default.rs

10 lines
298 B
Rust
Raw Normal View History

use crate::handlers::markups::deletion_markup;
2023-04-27 13:25:23 +00:00
use teloxide::{adaptors::Throttle, prelude::*};
pub async fn default(bot: Throttle<Bot>, msg: Message) -> crate::Result<()> {
bot.send_message(msg.chat.id, "Unknown command")
.reply_markup(deletion_markup())
.await?;
2023-04-27 13:25:23 +00:00
Ok(())
}