From 965e6e18b9fcbc6f1c5f8b2f738aa07c328c5d3c Mon Sep 17 00:00:00 2001 From: Florian Dahn Date: Fri, 10 Apr 2020 10:24:29 +0200 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a71cf4a..1fe01a6 100644 --- a/README.md +++ b/README.md @@ -79,11 +79,24 @@ Thanks ! - [State Machine and Session Serialization (v3.0.0)](#statemachine-and-sessions) * [StateMachines](#statemachines) + + * [SimpleJSONStateMachine](#simplejsonstatemachine) + + * [JSONStateMachine](#jsonstatemachine) + + * [XMLStateMachine](#xmlstatemachine) * [Interfaces](#interfaces) + + * [IStateMachine](#istatemachine) + + * [IStateForm](#istateform) * [Attributes](#attributes) + * [SaveState](#savestate) + + * [IgnoreState](#ignorestate) --- @@ -959,7 +972,7 @@ BotBase bb = new BotBase("{YOUR API KEY}"); bb.SystemCalls.Add("/start"); //Set the statemachine and enable it -bb.StateMachine = new TelegramBotBase.States.XMLStateMachine(AppContext.BaseDirectory + "config\\states.json"); +bb.StateMachine = new TelegramBotBase.States.XMLStateMachine(AppContext.BaseDirectory + "config\\states.xml"); //Start your Bot bb.Start();