Add pending and failed states for admin delete.

This commit is contained in:
Michelle Tang
2026-03-03 11:14:11 -05:00
committed by Greyson Parrelli
parent 3af8b6050c
commit 74d9e3248b
19 changed files with 247 additions and 46 deletions

View File

@@ -536,6 +536,7 @@ message MessageExtras {
PaymentTombstone paymentTombstone = 4;
PollTerminate pollTerminate = 5;
PinnedMessage pinnedMessage = 6;
AdminDeleteStatus adminDeleteStatus = 7;
}
}
@@ -550,6 +551,15 @@ message PaymentTombstone {
CryptoValue fee = 3;
}
message AdminDeleteStatus {
enum Status {
PENDING = 0;
DONE = 1;
FAILED = 2;
}
Status status = 1;
}
message PollTerminate {
string question = 1;
uint64 messageId = 2;