littleshop/LittleShop/Services/ITelegramBotManagerService.cs
2025-08-27 18:02:39 +01:00

15 lines
449 B
C#

using System;
using System.Threading;
using System.Threading.Tasks;
namespace LittleShop.Services;
public interface ITelegramBotManagerService
{
Task StartAsync(CancellationToken cancellationToken);
Task StopAsync(CancellationToken cancellationToken);
Task<bool> AddBotAsync(Guid botId, string botToken);
Task<bool> RemoveBotAsync(Guid botId);
Task<bool> UpdateBotSettingsAsync(Guid botId);
Task<int> GetActiveBotCount();
}