- Adding a message loop interface to build custom message loops - extracting default message loop from BotBase into seperate class - updates to BotBaseBuilder for integration of custom message loops - updating all result classes for using the new Update object of V17 - improving MessageResult and UpdateResult classes - BotBase has been prepared for cleanup (a lot of comments) - Comment cleanup at the next build - updating Readme
22 lines
475 B
C#
22 lines
475 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using Telegram.Bot.Types;
|
|
using TelegramBotBase.Args;
|
|
using TelegramBotBase.Base;
|
|
using TelegramBotBase.Sessions;
|
|
|
|
namespace TelegramBotBase.Interfaces
|
|
{
|
|
public interface IMessageLoopFactory
|
|
{
|
|
|
|
Task MessageLoop(BotBase Bot, DeviceSession session, UpdateResult ur, MessageResult e);
|
|
|
|
event EventHandler<UnhandledCallEventArgs> UnhandledCall;
|
|
|
|
|
|
}
|
|
}
|