Добавьте файлы проекта.
This commit is contained in:
18
BotPages.Core/Context/UserContext.cs
Normal file
18
BotPages.Core/Context/UserContext.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace BotPages.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// Описывает пользователя для универсального контекста.
|
||||
/// </summary>
|
||||
public sealed class UserContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Уникальный идентификатор пользователя в транспортном слое.
|
||||
/// </summary>
|
||||
public long Id { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Отображаемое имя пользователя (если доступно).
|
||||
/// </summary>
|
||||
public string? DisplayName { get; init; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user