Files

23 lines
504 B
C#
Raw Permalink Normal View History

2020-03-08 01:55:50 +04:00
using System;
using System.ComponentModel.DataAnnotations;
2023-07-29 15:14:52 +03:00
namespace Kruzya.TelegramBot.Core.Data;
public class BotUser
2020-03-08 01:55:50 +04:00
{
2023-07-29 15:14:52 +03:00
/// <summary>
/// The unique bot user identifier.
/// </summary>
[Key]
public Guid BotUserId { get; set; }
2020-03-08 01:55:50 +04:00
2023-07-29 15:14:52 +03:00
/// <summary>
/// The chat identifier where this user is related.
/// </summary>
public long ChatId { get; set; }
2020-03-08 01:55:50 +04:00
2023-07-29 15:14:52 +03:00
/// <summary>
/// The Telegram User identifier.
/// </summary>
public long UserId { get; set; }
2020-03-08 01:55:50 +04:00
}