using System;
using System.Collections.Generic;

namespace Knot.Modules.Conversations.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
);

