Files
telegram-bot/Core/Data/BotUser.cs
T
2023-07-29 15:14:52 +03:00

23 lines
504 B
C#

using System;
using System.ComponentModel.DataAnnotations;
namespace Kruzya.TelegramBot.Core.Data;
public class BotUser
{
/// <summary>
/// The unique bot user identifier.
/// </summary>
[Key]
public Guid BotUserId { get; set; }
/// <summary>
/// The chat identifier where this user is related.
/// </summary>
public long ChatId { get; set; }
/// <summary>
/// The Telegram User identifier.
/// </summary>
public long UserId { get; set; }
}