Rename TextUpdateReceived property

This commit is contained in:
Sergey Nazarov 2024-03-22 00:39:45 +04:00
parent fbcf7dd467
commit eb27439cce
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ public sealed class NewMessageHandler : INewMessageHandler
{
From = m.from_id.ID,
ChatId = m.peer_id.ID,
ChatUserName = chatUserName,
ChatUsername = chatUserName,
Text = m.message,
OccuredDateTime = _dateProvider.UtcNow
};

View File

@ -10,7 +10,7 @@ public sealed class MessageReceived : IEvent
public long ChatId { get; set; }
public string ChatUserName { get; set; }
public string ChatUsername { get; set; } = default!;
public DateTimeOffset OccuredDateTime { get; set; }
}