- adding DefaultStateForm to redirect Sessions after reloading Sessions to a different Form instead of "restart" the session (i.e. on an in Bot wizard you just want to let the user continue on the main menu) - adding to SaveSessions to save the "main menu" instead of skipping the ignored form
19 lines
377 B
C#
19 lines
377 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using TelegramBotBase.Args;
|
|
using TelegramBotBase.Base;
|
|
using TelegramBotBase.Form;
|
|
|
|
namespace TelegramBotBase.Interfaces
|
|
{
|
|
public interface IStateMachine
|
|
{
|
|
Type DefaultStateForm { get; }
|
|
|
|
void SaveFormStates(SaveStatesEventArgs e);
|
|
|
|
StateContainer LoadFormStates();
|
|
}
|
|
}
|