Adding setting for automated session serialization on shutdown
- adding automated session serialization on application ending (console or shutdown/logoff) - adding console class for managing system events
This commit is contained in:
@@ -24,6 +24,10 @@ namespace TelegramBotBase.Enums
|
||||
SkipAllMessages = 3,
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Does stick to the console event handler and safes all sessions on exit.
|
||||
/// </summary>
|
||||
SafeSessionsOnConsoleExit = 4
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user