mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
new app server and database + added hub and controller of user profile
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Govor.Core.Models.Messages;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Govor.Contracts.Requests.SignalR;
|
||||
|
||||
@@ -6,6 +7,8 @@ public record MessageRequest
|
||||
{
|
||||
public Guid RecipientId { get; init; }
|
||||
public RecipientType RecipientType { get; init; }
|
||||
[Required]
|
||||
[MaxLength(100_000, ErrorMessage = "EncryptedContent cannot exceed 100,000 characters.")]
|
||||
public string EncryptedContent { get; init; } = string.Empty;
|
||||
public Guid? ReplyToMessageId { get; set; }
|
||||
public List<MediaReference> MediaAttachments { get; set; } = new();
|
||||
|
||||
Reference in New Issue
Block a user