mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
[store] refactor, add new purchasables
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user