Merge branch 'master' of https://github.com/MajMcCloud/TelegramBotFramework
This commit is contained in:
commit
022eee4b57
17
README.md
17
README.md
@ -2,15 +2,15 @@
|
||||
# .Net Telegram Bot Framework - Context based addon
|
||||
|
||||
[](https://www.nuget.org/packages/TelegramBotBase/)
|
||||
[](https://t.me/tgbotbase)
|
||||
[](https://www.t.me/tgbotbase)
|
||||
|
||||
|
||||
[](https://raw.githubusercontent.com/MajMcCloud/TelegramBotFramework/master/LICENCE.md)
|
||||
[](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://www.t.me/tgbotbase](https://www.t.me/tgbotbase)
|
||||
|
||||
---
|
||||
|
||||
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user