コード例 #1
0
 public static void ReplyWithDeletedAlarm(AlarmBotContext context, Alarm alarm = null)
 {
     context.Reply($"I have deleted {alarm.Title} alarm");
 }
コード例 #2
0
 public static void ReplyWithNoAlarmsFound(AlarmBotContext context, string text)
 {
     context.Reply($"There were no alarms found for {(string)text}.");
 }
コード例 #3
0
 public static void ReplyWithTitlePrompt(AlarmBotContext context)
 {
     context.Reply(GetDeleteActivity(context, context.UserState.Alarms, "Delete Alarms", "What alarm do you want to delete?"));
 }
コード例 #4
0
 public static void ReplyWithNoAlarms(AlarmBotContext context)
 {
     context.Reply($"There are no alarms defined.");
 }