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

12 lines
354 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(Chat chat, User user);
public Task<bool> CanView(Chat chat, User user) => Task.FromResult(true);
}