using System; using System.Collections.Generic; namespace Knot.Modules.Conversations.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, long SequenceId, List Media, MessageSenderDto Sender, List Reactions, List ReadBy, string? CallType = null, string? CallStatus = null, int? Duration = null, List? PollOptions = null, bool? PollIsMultipleChoice = null, bool? PollIsClosed = null ); public record PollOptionDto(string Text, int VoteCount);