mirror of
https://github.com/Govor-team/Govor.git
synced 2026-11-17 21:09:00 +00:00
632ac04b56
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.
21 lines
764 B
C#
21 lines
764 B
C#
using Govor.Domain.Models;
|
|
using Govor.Domain.Models.Messages;
|
|
|
|
namespace Govor.Contracts.Responses.SignalR;
|
|
|
|
public class UserMessageResponse
|
|
{
|
|
public Guid MessageId { get; set; }
|
|
public Guid SenderId { get; set; }
|
|
public Guid RecipientId { get; set; }
|
|
public RecipientType RecipientType{get; set; }
|
|
public string EncryptedContent { get; set; } = string.Empty;
|
|
public Guid? ReplyToMessageId { get; set; }
|
|
public Guid? ForwardedFromMessageId { get; set; }
|
|
public Guid? ForwardedFromUserId { get; set; }
|
|
public DateTime? ForwardedFromSentAt { get; set; }
|
|
public DateTime SentAt { get; set; }
|
|
public bool IsEdited { get; set; } = false;
|
|
public List<MediaFile> MediaAttachments { get; set; } = new List<MediaFile>();
|
|
}
|