mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-06 15:35:35 +01:00
Update batch download
This commit is contained in:
@@ -396,7 +396,7 @@ async fn get_download_archive_keyboard_handler(
|
|||||||
};
|
};
|
||||||
|
|
||||||
bot
|
bot
|
||||||
.send_message(message.chat.id, "Выбери формат: \n (Функция тестируется и может работать нестабильно)")
|
.send_message(message.chat.id, "Выбери формат:")
|
||||||
.reply_markup(keyboard)
|
.reply_markup(keyboard)
|
||||||
.reply_to_message_id(message.id)
|
.reply_to_message_id(message.id)
|
||||||
.await?;
|
.await?;
|
||||||
@@ -444,7 +444,7 @@ async fn download_archive(
|
|||||||
};
|
};
|
||||||
|
|
||||||
bot
|
bot
|
||||||
.edit_message_text(message.chat.id, message.id, "Подготовка архива...")
|
.edit_message_text(message.chat.id, message.id, "⏳ Подготовка архива...")
|
||||||
.reply_markup(InlineKeyboardMarkup {
|
.reply_markup(InlineKeyboardMarkup {
|
||||||
inline_keyboard: vec![],
|
inline_keyboard: vec![],
|
||||||
})
|
})
|
||||||
@@ -474,7 +474,7 @@ async fn download_archive(
|
|||||||
.edit_message_text(
|
.edit_message_text(
|
||||||
message.chat.id,
|
message.chat.id,
|
||||||
message.id,
|
message.id,
|
||||||
format!("Подготовка архива: {}", task.status_description)
|
format!("Статус: \n ⏳ {}", task.status_description)
|
||||||
)
|
)
|
||||||
.reply_markup(InlineKeyboardMarkup {
|
.reply_markup(InlineKeyboardMarkup {
|
||||||
inline_keyboard: vec![],
|
inline_keyboard: vec![],
|
||||||
|
|||||||
Reference in New Issue
Block a user