This commit is contained in:
2023-05-18 02:07:43 +02:00
parent 4033db1c8f
commit c258eb0af0

View File

@@ -209,7 +209,7 @@ where
let (chat_id, message_id) = match (chat_id, message_id) { let (chat_id, message_id) = match (chat_id, message_id) {
(Some(chat_id), Some(message_id)) => (chat_id, message_id), (Some(chat_id), Some(message_id)) => (chat_id, message_id),
(Some(chat_id), None) => { (Some(chat_id), None) => {
bot.send_message(chat_id, "Повторите поиск сначала").send().await; bot.send_message(chat_id, "Повторите поиск сначала").send().await?;
return Ok(()); return Ok(());
}, },
_ => { _ => {