public static void ReplyWithAddedAlarm(IBotContext context, Alarm alarm)
 {
     context.Reply(ResponseHelpers.ReplyWithTitle(context, $"Alarm Added", $"{AlarmDescription(context, alarm)}."));
 }
 public static void ReplyWithTitlePrompt(IBotContext context, Alarm alarm)
 {
     context.Reply(ResponseHelpers.ReplyWithTitle(context, $"Adding alarm", $"{AlarmDescription(context, alarm)}\n\nWhat would you like to call your alarm ?"));
 }
 public static void ReplyWithTitleValidationPrompt(IBotContext context, Alarm alarm)
 {
     context.Reply(ResponseHelpers.ReplyWithTitle(context, $"Adding alarm", $"Your title needs to be between 1 and 100 characterslong\n\n{AlarmDescription(context, alarm)}\n\nWhat would you like to call your alarm ?"));
 }
 public static void ReplyWithTimePromptFuture(IBotContext context, Alarm alarm)
 {
     context.Reply(ResponseHelpers.ReplyWithTitle(context, $"Adding alarm", $"{AlarmDescription(context, alarm)}\n\nYou need to specify a time in the future. What time would you like to set the alarm?"));
 }
Exemple #5
0
 public static async Task ReplyWithAddedAlarm(ITurnContext context, Alarm alarm)
 {
     await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Alarm Added", $"{AlarmDescription(context, alarm)}."));
 }
Exemple #6
0
 public static async Task ReplyWithTitleValidationPrompt(ITurnContext context, Alarm alarm)
 {
     await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Adding alarm", $"Your title needs to be between 1 and 100 characterslong\n\n{AlarmDescription(context, alarm)}\n\nWhat would you like to call your alarm ?"));
 }
Exemple #7
0
 public static async Task ReplyWithTitlePrompt(ITurnContext context, Alarm alarm)
 {
     await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Adding alarm", $"{AlarmDescription(context, alarm)}\n\nWhat would you like to call your alarm ?"));
 }
Exemple #8
0
 public static async Task ReplyWithTimePromptFuture(ITurnContext context, Alarm alarm)
 {
     await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Adding alarm", $"{AlarmDescription(context, alarm)}\n\nYou need to specify a time in the future. What time would you like to set the alarm?"));
 }