refactor: remove message editing after photo file download in task processing

This commit is contained in:
krau
2025-01-20 11:27:26 +08:00
parent 741ceb87fb
commit 2f60af858d

View File

@@ -55,10 +55,6 @@ func processPendingTask(task *types.Task) error {
defer cleanCacheFile(destPath)
logger.L.Infof("Downloaded file: %s", destPath)
ctx.EditMessage(task.ChatID, &tg.MessagesEditMessageRequest{
Message: fmt.Sprintf("下载完成: %s\n正在转存文件...", task.FileName()),
ID: task.ReplyMessageID,
})
return saveFileWithRetry(task, destPath)
}