17 lines
367 B
C#
17 lines
367 B
C#
using TelegramBotBase.Args;
|
|
|
|
namespace TelegramBotBase.Interfaces
|
|
{
|
|
/// <summary>
|
|
/// Is used to save specific fields into a session state to survive restarts or unhandled exceptions and crashes.
|
|
/// </summary>
|
|
public interface IStateForm
|
|
{
|
|
|
|
void LoadState(LoadStateEventArgs e);
|
|
|
|
void SaveState(SaveStateEventArgs e);
|
|
|
|
}
|
|
}
|