Files
telegram-bot/Core/Data/BotUser.cs
T

24 lines
570 B
C#
Raw Normal View History

2020-03-08 01:55:50 +04:00
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>
2021-12-22 01:27:56 +04:00
public long UserId { get; set; }
2020-03-08 01:55:50 +04:00
}
}