This commit is contained in:
2023-08-06 23:24:13 +02:00
parent 0f5466e664
commit 0515e75f83

View File

@@ -497,10 +497,6 @@ async fn download_archive(
.await?;
return Ok(());
} else {
bot
.delete_message(message.chat.id, message.id)
.await?;
}
let downloaded_data = match download_file_by_link(
@@ -523,6 +519,10 @@ async fn download_archive(
},
};
bot
.delete_message(message.chat.id, message.id)
.await?;
match _send_downloaded_file(
&message,
bot,