18 lines
439 B
C#
18 lines
439 B
C#
namespace Nocr.TextMatcher.Async.Api.Contracts;
|
|
|
|
public class TextMatchMatched : IEvent
|
|
{
|
|
public Guid Id => Guid.NewGuid();
|
|
|
|
public long UserId { get; set; }
|
|
|
|
public long? ChatId { get; set; }
|
|
|
|
public string ChatUsername { get; set; } = null!;
|
|
|
|
public string Text { get; set; }
|
|
|
|
public DateTimeOffset OccuredDateTime { get; set; }
|
|
|
|
public DateTimeOffset PublishedDateTime { get; set; }
|
|
} |