public static async Task ReplyWithAddedAlarm(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Guess stored", $"{GameDescription(context, game)}.")); }
public static async Task ReplyWithAddedGuess(ITurnContext context, Guess guess) { await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Guess stored", $"{GuessInfo(context, guess)}.")); }
public static async Task ReplyWithTitleValidationPrompt(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Starting game", $"Your title needs to be between 1 and 100 characterslong\n\n{GameDescription(context, game)}\n\nWhat would you like to call your game ?")); }
public static async Task ReplyWithAddConfirmation(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithSuggestions(context, $"Storing guess...", $"{GameDescription(context, game)}\n\nDo you want to submit this guess?", YesNo)); }
public static async Task ReplyWithTitlePrompt(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Guess a number:", $"{GameDescription(context, game)}\n\nWhat is your guess?")); }
public static async Task ReplyWithTimePromptFuture(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Starting game", $"{GameDescription(context, game)}\n\nYou need to specify a time in the future. What time would you like to set the game?")); }
public static async Task ReplyWithTimePrompt(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Starting game", $"{GameDescription(context, game)}\n\nWhat time would you like to set the game for?")); }
public static async Task ReplyWithCancelReprompt(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithSuggestions(context, $"Cancel Game?", $"Please answer the question with a \"yes\" or \"no\" reply. Did you want to cancel the game?\n\n{GameDescription(context, game)}", YesNo)); }
public static async Task ReplyWithCancelPrompt(ITurnContext context, Game game) { await context.SendActivity(ResponseHelpers.ReplyWithSuggestions(context, "Cancel Game?", $"Did you want to cancel the game?\n\n{GameDescription(context, game)}", YesNo)); }