Add improved archive upload progress.

This commit is contained in:
Alex Hart
2024-12-06 15:38:08 -04:00
committed by Greyson Parrelli
parent 981808d074
commit 6d5be0b445
8 changed files with 217 additions and 27 deletions

View File

@@ -24,7 +24,22 @@ message ArchiveUploadProgressState {
UploadingAttachments = 3;
}
/**
* Describes the current phase the backup is in when we are exporting the database
* to the temporary file.
*/
enum BackupPhase {
BackupPhaseNone = 0;
Account = 1;
Recipient = 2;
Thread = 3;
Call = 4;
Sticker = 5;
Message = 6;
}
State state = 1;
uint64 completedAttachments = 2;
uint64 totalAttachments = 3;
BackupPhase backupPhase = 4;
}