This commit is contained in:
FlorianDahn 2018-05-20 00:45:25 +02:00
parent 7f63e9b257
commit dbcb4c19ef

View File

@ -125,11 +125,13 @@ public class SimpleForm : FormBase
case "hello": case "hello":
case "hi": case "hi":
//Send him a simple message
await this.Device.Send("Hello you there !"); await this.Device.Send("Hello you there !");
break; break;
case "maybe": case "maybe":
//Send him a simple message and reply to the one of himself
await this.Device.Send("Maybe what?", replyTo: messageId); await this.Device.Send("Maybe what?", replyTo: messageId);
break; break;
@ -137,6 +139,7 @@ public class SimpleForm : FormBase
case "bye": case "bye":
case "ciao": case "ciao":
//Send him a simple message
await this.Device.Send("Ok, take care !"); await this.Device.Send("Ok, take care !");
break; break;
} }