Update README.md

This commit is contained in:
Florian Dahn 2019-05-04 18:43:54 +02:00 committed by GitHub
parent c07aca96a4
commit 9585a231bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");
}