- Adding a control base class - Adding an option to log all incomming messages with an event handler - Some necessary added try/catch stuff to catch exceptions for "blocked" Bots, to prevent crashing - Added some progress bar Test to Testproject
25 lines
387 B
C#
25 lines
387 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TelegramBotBase.Base
|
|
{
|
|
public class ControlBase
|
|
{
|
|
public Sessions.DeviceSession Device { get; set; }
|
|
|
|
public virtual async Task Render()
|
|
{
|
|
|
|
}
|
|
|
|
public virtual async Task Cleanup()
|
|
{
|
|
|
|
}
|
|
|
|
}
|
|
}
|