mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-20 22:08:50 +00:00
Add forwarding, friend controls, and benefits
Add message forwarding and reply lookup, friend removal and blocking endpoints, and database-backed Govor+ privileges with customizable profile tags. Include migrations, integration tests, and updated API and operations documentation.
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
using Govor.Domain.Models.Users;
|
||||
|
||||
namespace Govor.Contracts.Requests;
|
||||
|
||||
public sealed record SetPrivilegesRequest(UserPrivileges Privileges);
|
||||
@@ -11,5 +11,6 @@ public record MessageRequest
|
||||
[MaxLength(1_000_000, ErrorMessage = "EncryptedContent cannot exceed 1,000,000 characters.")]
|
||||
public string EncryptedContent { get; init; } = string.Empty;
|
||||
public Guid? ReplyToMessageId { get; set; }
|
||||
public Guid? ForwardedFromMessageId { get; init; }
|
||||
public List<MediaReference> MediaAttachments { get; set; } = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user