Add customer communication system
This commit is contained in:
15
LittleShop/Services/ITelegramBotManagerService.cs
Normal file
15
LittleShop/Services/ITelegramBotManagerService.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
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();
|
||||
}
|
||||
Reference in New Issue
Block a user