33 lines
673 B
C#
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
|
|
);
|