Files
forkmessager/backend/src/Modules/Chats/Application/DTOs/SearchMessageDto.cs
Халимов Рустам 5da1a2f45d Архитектура
2026-03-21 02:19:38 +03:00

33 lines
673 B
C#

using System;
using System.Collections.Generic;
namespace Knot.Modules.Chats.Application.DTOs;
public record SearchMessageDto(
Guid Id,
Guid ChatId,
Guid SenderId,
string? Content,
string Type,
Guid? ReplyToId,
string? Quote,
bool IsEdited,
bool IsDeleted,
DateTime CreatedAt,
long SequenceId,
Guid? ForwardedFromId,
MessageSenderDto? ForwardedFrom,
Guid? StoryId,
string? StoryMediaUrl,
string? StoryMediaType,
List<MediaDto> Media,
MessageSenderDto Sender,
List<SimpleReactionDto> Reactions,
List<ReadByDto> ReadBy
);
public record SimpleReactionDto(
Guid UserId,
string Emoji
);