so-un-bot/Bot/ModuleLoader/IModule.cs

13 lines
305 B
C#
Raw Normal View History

2024-01-19 03:29:39 +01:00
using Telegram.Bot;
using Telegram.Bot.Types;
namespace HomeBot.ModuleLoader
{
public interface IModule
{
public string Cmd();
public string GetName();
public void ProcessUpdate(ITelegramBotClient botClient, Update update, CancellationToken cancellationToken);
}
}