From 01de9ec9327ae8c4cb169afcee329055a5555b59 Mon Sep 17 00:00:00 2001 From: Florian Dahn Date: Sat, 4 May 2019 16:56:25 +0200 Subject: [PATCH 1/3] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8285f01..f12e5d5 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ # .Net Telegram Bot Framework - Context based addon [![NuGet version (TelegramBotBase)](https://img.shields.io/nuget/v/TelegramBotBase.svg?style=flat-square)](https://www.nuget.org/packages/TelegramBotBase/) -[![telegram chat](https://img.shields.io/badge/Support_Chat-Telegram-blue.svg?style=flat-square)](https://t.me/tgbotbase) +[![telegram chat](https://img.shields.io/badge/Support_Chat-Telegram-blue.svg?style=flat-square)](https://www.t.me/tgbotbase) [![license](https://img.shields.io/github/license/MajMcCloud/telegrambotframework.svg?style=flat-square&maxAge=2592000&label=License)](https://raw.githubusercontent.com/MajMcCloud/TelegramBotFramework/master/LICENCE.md) [![downloads](https://img.shields.io/nuget/dt/TelegramBotBase.svg?style=flat-square&label=Package%20Downloads)](https://www.nuget.org/packages/TelegramBotBase) -Test the Testproject: [@TGBaseBot](https://t.me/TGBaseBot) +Test the Testproject: [@TGBaseBot](https://www.t.me/TGBaseBot) -Join the Telegram Group: [https://t.me/tgbotbase](https://t.me/tgbotbase) +Join the Telegram Group: [https://t.me/tgbotbase](https://www.t.me/tgbotbase) --- From c07aca96a4ee84ddf353488d5a6f86231b9b1071 Mon Sep 17 00:00:00 2001 From: Florian Dahn Date: Sat, 4 May 2019 16:56:44 +0200 Subject: [PATCH 2/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f12e5d5..0772b74 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Test the Testproject: [@TGBaseBot](https://www.t.me/TGBaseBot) -Join the Telegram Group: [https://t.me/tgbotbase](https://www.t.me/tgbotbase) +Join the Telegram Group: [https://www.t.me/tgbotbase](https://www.t.me/tgbotbase) --- From 9585a231bded02425aa557928073a2630da9d1f3 Mon Sep 17 00:00:00 2001 From: Florian Dahn Date: Sat, 4 May 2019 18:43:54 +0200 Subject: [PATCH 3/3] Update README.md --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0772b74..7a17739 100644 --- a/README.md +++ b/README.md @@ -222,12 +222,17 @@ On every input the user is sending back to the bot the Action event gets raised. ``` -public class SimpleForm : FormBase +public class SimpleForm : AutoCleanForm { - + public SimpleForm() + { + this.DeleteSide = eSide.Both; + this.DeleteMode = eDeleteMode.OnLeavingForm; + } + public override async Task Opened() { - await this.Device.Send("Hello world!"); + await this.Device.Send("Hello world! (send 'back' to get back to Start)\r\nOr\r\nhi, hello, maybe, bye and ciao"); }