Initial KV API concept

This commit is contained in:
Kruzya
2023-01-05 08:01:18 +03:00
parent a97fac85e4
commit 984e582ce4
8 changed files with 207 additions and 0 deletions
+22
View File
@@ -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; }
}