feat: add message limit option for Telegram channels and update progress display

This commit is contained in:
Sarto
2026-03-26 01:51:00 +03:30
parent 0e9a12beac
commit 3aa7dc3244
6 changed files with 28 additions and 12 deletions
+1 -1
View File
@@ -392,7 +392,7 @@ func (f *Fetcher) FetchChannel(ctx context.Context, channelNum int, blockCount i
}
ordered[r.idx] = r.data
completed++
f.logProgress(fmt.Sprintf("Channel %d", channelNum), float64(completed), float64(blockCount))
f.logProgress(fmt.Sprintf("Channel %d (%d/%d)", channelNum, completed, blockCount), float64(completed), float64(blockCount))
}
var allData []byte