V17 - Big Update
- 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
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user