Enhance TelegramNotifier to manage previous alerts and improve notification clarity
ci / build-backend (push) Successful in 1m21s
ci / build-frontend (push) Successful in 51s
ci / tests (push) Successful in 1m33s
ci / sonar (push) Successful in 3m51s

Updated the TelegramNotifier to delete previous alert messages before sending new notifications, ensuring that only the latest alert is visible to subscribers. Introduced a new property in TelegramSubscriber to track the latest alert message ID. Adjusted related tests to verify the new alert management behavior and updated documentation to reflect these changes, enhancing the overall user experience in message handling.
This commit is contained in:
Leonid Pershin
2026-07-31 21:20:25 +03:00
parent 4a2e6ac7f1
commit 3dbe0b7698
7 changed files with 1739 additions and 18 deletions
@@ -834,6 +834,9 @@ namespace TeleWave.Infrastructure.Migrations
b.Property<Guid>("Id")
.HasColumnType("uuid");
b.Property<long?>("AlertMessageId")
.HasColumnType("bigint");
b.Property<long>("ChatId")
.HasColumnType("bigint");