Files
forkmessager/apps/server-net/src/Modules/Chats/Application/DTOs/ChatMessageDto.cs
Халимов Рустам 59e0cf7667 DDD
2026-03-19 00:59:01 +03:00

25 lines
509 B
C#

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