Files
telegram-bot/modules/ContentStore/Service/IRandomMediaService.cs
T
2022-11-14 00:23:36 +02:00

12 lines
323 B
C#

using Telegram.Bot.Types;
using West.TelegramBot.ContentStore.Model;
namespace West.TelegramBot.ContentStore.Service;
public interface IRandomMediaService
{
public StoreItem StoreItem { get; }
public Task<RandomMedia> GetRandomMediaAsync();
public async Task<bool> CanView(Chat chat, User user) => true;
}