Update teloxide lib

This commit is contained in:
2023-05-03 23:12:04 +02:00
parent 9bf9a86954
commit b7fd1cfa7c
14 changed files with 77 additions and 67 deletions

View File

@@ -10,7 +10,7 @@ pub mod utils;
pub async fn message_handler(
message: Message,
bot: AutoSend<Bot>,
bot: Bot,
) -> Result<(), Box<dyn Error + Send + Sync>> {
let from_user = message.from().unwrap();
let text = message.text().unwrap_or("");