mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-16 20:56:03 +00:00
e060b2bcbb
Keep encrypted message content out of push payloads and improve cross-platform notification data. Add token registration validation and per-session unregister support, batch and deduplicate sends, remove only confirmed unregistered tokens, and protect queued retries with leases. Add delivery tests and document the push API and Firebase setup.
7 lines
427 B
C#
7 lines
427 B
C#
namespace Govor.Application.Interfaces.PushNotifications.Models;
|
|
|
|
/// <param name="SuccessCount">Tokens accepted by the provider.</param>
|
|
/// <param name="FailureCount">All failed sends, including retryable errors.</param>
|
|
/// <param name="FailedTokens">Only permanently unregistered tokens that can safely be deleted.</param>
|
|
public record SendPushResult(int SuccessCount, int FailureCount, IEnumerable<string> FailedTokens);
|