11 lines
307 B
C#
11 lines
307 B
C#
using TelegramPanel.Data.Entities;
|
|
|
|
namespace TelegramPanel.Data.Repositories;
|
|
|
|
public interface IBotChannelRepository : IRepository<BotChannel>
|
|
{
|
|
Task<BotChannel?> GetByTelegramIdAsync(int botId, long telegramId);
|
|
Task<IEnumerable<BotChannel>> GetForBotAsync(int botId, int? categoryId = null);
|
|
}
|
|
|