mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
initial chat options implementation
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using System.Runtime.Serialization;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Kruzya.TelegramBot.Core.Options;
|
||||
|
||||
public interface IOption<TValue>
|
||||
{
|
||||
public Task<TValue> GetValueAsync(long chatId);
|
||||
public Task SetValueAsync(long chatId, TValue value);
|
||||
}
|
||||
Reference in New Issue
Block a user