Пример #1
0
 public static async Task ReplyWithAddedGuess(ITurnContext context, Guess guess)
 {
     await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Guess stored", $"{GuessInfo(context, guess)}."));
 }
Пример #2
0
 public static async Task ReplyWithAddedAlarm(ITurnContext context, Game game)
 {
     await context.SendActivity(ResponseHelpers.ReplyWithTitle(context, $"Guess stored", $"{GameDescription(context, game)}."));
 }
Пример #3
0
 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 ?"));
 }
Пример #4
0
 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?"));
 }
Пример #5
0
 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?"));
 }
Пример #6
0
 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?"));
 }