mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
test to make server
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace Govor.Contracts.DTOs;
|
||||
|
||||
public class AvatarUpdatePayload
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public Guid IconId { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace Govor.Contracts.DTOs;
|
||||
|
||||
public class DescriptionUpdatePayload
|
||||
{
|
||||
public Guid UserId { get; set; }
|
||||
public string? Description { get; set; }
|
||||
}
|
||||
@@ -6,4 +6,5 @@ public class UserProfileDto
|
||||
public string Username { get; set; } = string.Empty;
|
||||
public string? Description { get; set; }
|
||||
public Guid? IconId { get; set; }
|
||||
public bool IsOnline { get; set; }
|
||||
}
|
||||
|
||||
@@ -3,15 +3,15 @@ using Govor.Core.Models.Messages;
|
||||
|
||||
namespace Govor.Contracts.Responses.SignalR;
|
||||
|
||||
public record UserMessageResponse
|
||||
public class 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<MediaFile> MediaAttachments { get; init; } = new List<MediaFile>();
|
||||
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 DateTime SentAt { get; set; }
|
||||
public bool IsEdited { get; set; } = false;
|
||||
public List<MediaFile> MediaAttachments { get; set; } = new List<MediaFile>();
|
||||
}
|
||||
Reference in New Issue
Block a user