Files
telegram-bot/Core/Option/IOptionKey.cs
T

22 lines
530 B
C#
Raw Normal View History

2023-01-05 08:01:18 +03:00
namespace Kruzya.TelegramBot.Core.Option;
/// <summary>
/// Explains what
/// </summary>
public interface IOptionKey
{
/// <summary>
/// The chat identifier where this key is related.
/// </summary>
public long ChatId { get; }
/// <summary>
/// The Telegram user identifier. May be NULL if this is a simple option for all chat members.
/// </summary>
public long? UserId { get; }
/// <summary>
/// The unique option identifier.
/// </summary>
public string Identifier { get; }
}