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

12 lines
354 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; }
public Task<RandomMedia> GetRandomMediaAsync(Chat chat, User user);
2023-07-21 18:40:24 +03:00
public Task<bool> CanView(Chat chat, User user) => Task.FromResult(true);
2022-02-16 17:07:30 +02:00
}