Add persistent Inbox and RFC 8291/8292 Web Push notification system
This commit is contained in:
parent
4714d25724
commit
7cc9ba7f4d
27 changed files with 3573 additions and 17 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue