[store] refactor, add new purchasables

This commit is contained in:
Andriy
2022-11-14 00:23:36 +02:00
parent c50d5f63ba
commit 36e5ddd5af
9 changed files with 149 additions and 16 deletions
@@ -1,4 +1,5 @@
using West.TelegramBot.ContentStore.Model;
using Telegram.Bot.Types;
using West.TelegramBot.ContentStore.Model;
namespace West.TelegramBot.ContentStore.Service;
@@ -7,4 +8,5 @@ public interface IRandomMediaService
public StoreItem StoreItem { get; }
public Task<RandomMedia> GetRandomMediaAsync();
public async Task<bool> CanView(Chat chat, User user) => true;
}