Files
Govor/Govor.Contracts/Responses/SignalR/UserMessageResponse.cs
T
2025-07-04 14:33:54 +07:00

17 lines
625 B
C#

using Govor.Contracts.Requests.SignalR;
using Govor.Core.Models;
namespace Govor.Contracts.Responses.SignalR;
public record UserMessageResponse
{
public Guid MessageId { get; init; }
public Guid SenderId { get; init; }
public Guid RecipientId { get; init; }
public RecipientType RecipientType{get; init; }
public string EncryptedContent { get; init; } = string.Empty;
public Guid? ReplyToMessageId { get; init; }
public DateTime SentAt { get; init; }
public bool IsEdited { get; init; } = false;
public List<MediaReference> MediaAttachments { get; init; } = new List<MediaReference>();
}