text-matcher/src/Nocr.TextMatcher.Async.Api.Contracts/TextMatchMatched.cs
2024-03-22 20:46:17 +04:00

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; }
}