public static async Task ReplyWithDeletedAlarm(AlarmBotContext context, Alarm alarm = null) { await context.SendActivity($"I have deleted {alarm.Title} alarm"); }
public static async Task ReplyWithNoAlarmsFound(AlarmBotContext context, string text) { await context.SendActivity($"There were no alarms found for {(string)text}."); }
public static async Task ReplyWithTitlePrompt(AlarmBotContext context) { var deleteActivity = GetDeleteActivity(context, context.UserState.Alarms, "Delete Alarms", "What alarm do you want to delete?"); await context.SendActivity(deleteActivity); }
public static async Task ReplyWithNoAlarms(AlarmBotContext context) { await context.SendActivity($"There are no alarms defined."); }