mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Initial KV API concept
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user