Add persistent Inbox and RFC 8291/8292 Web Push notification system

This commit is contained in:
tyuXX 2026-10-31 15:41:51 +03:00
parent 4714d25724
commit 7cc9ba7f4d
27 changed files with 3573 additions and 17 deletions

View file

@ -45,6 +45,20 @@ public class ServerInfoResponse
public bool AllowMemberChannelCreation { get; set; } = true;
public bool AllowDmE2ee { get; set; } = true;
public int MaxGroupChatUsers { get; set; } = 10;
public string? VapidPublicKey { get; set; }
}
public class PushSubscribeRequest
{
public string Endpoint { get; set; } = string.Empty;
public string P256dh { get; set; } = string.Empty;
public string Auth { get; set; } = string.Empty;
public string? UserAgent { get; set; }
}
public class PushUnsubscribeRequest
{
public string Endpoint { get; set; } = string.Empty;
}
public class UploadFileResponse