Queue chat bulk actions through SQL outbox

This commit is contained in:
sevenhill
2026-07-05 22:16:30 +03:00
parent f57faead53
commit dcc74252c6
10 changed files with 443 additions and 50 deletions
+7
View File
@@ -14,6 +14,13 @@ public sealed class Chat
public bool IsPinned { get; set; }
public bool IsMuted { get; set; }
public bool IsArchived { get; set; }
public DateTimeOffset? DeletedAt { get; set; }
public DateTimeOffset? HistoryClearedAt { get; set; }
public ChatPendingMaxAction? PendingMaxAction { get; set; }
public DateTimeOffset? PendingMaxActionRequestedAt { get; set; }
public DateTimeOffset? PendingMaxActionLastAttemptAt { get; set; }
public int PendingMaxActionAttempts { get; set; }
public string? PendingMaxActionError { get; set; }
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
public DateTimeOffset UpdatedAt { get; set; } = DateTimeOffset.UtcNow;
public ICollection<Message> Messages { get; set; } = new List<Message>();