13 lines
334 B
C#
13 lines
334 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);
|
|
} |