Files
Govor/Govor.Contracts/Requests/RegisterPushTokenRequest.cs
T
Artemy e060b2bcbb Harden push notification delivery
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.
2026-10-17 19:53:34 +07:00

13 lines
304 B
C#

using System.ComponentModel.DataAnnotations;
namespace Govor.Contracts.Requests;
public class RegisterPushTokenRequest
{
[Required, StringLength(512)]
public string Token { get; set; } = string.Empty;
[Required, StringLength(50)]
public string Platform { get; set; } = string.Empty;
}