fixed CS8618 warning on string propert 'Text'

This commit is contained in:
ruberoid 2024-03-21 22:01:25 +04:00
parent 77d8dc7a42
commit 5d220f48ad

View File

@ -4,11 +4,11 @@ public sealed class MessageReceived : IEvent
{
public Guid Id { get; } = Guid.NewGuid();
public string Text { get; set; }
public string Text { get; set; } = default!;
public long From { get; set; }
public long ChatId { get; set; }
public DateTimeOffset OccuredDateTime { get; set; }
}
}