fixed CS8618 warning on string propert 'Text'
This commit is contained in:
parent
77d8dc7a42
commit
5d220f48ad
@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user