Files
telegram-bot/modules/ContentStore/Service/IRandomMediaService.cs
T

12 lines
323 B
C#
Raw Normal View History

2022-11-14 00:23:36 +02:00
using Telegram.Bot.Types;
using West.TelegramBot.ContentStore.Model;
2022-02-16 17:07:30 +02:00
namespace West.TelegramBot.ContentStore.Service;
public interface IRandomMediaService
{
2022-02-16 18:08:02 +02:00
public StoreItem StoreItem { get; }
2022-02-16 17:07:30 +02:00
public Task<RandomMedia> GetRandomMediaAsync();
2022-11-14 00:23:36 +02:00
public async Task<bool> CanView(Chat chat, User user) => true;
2022-02-16 17:07:30 +02:00
}