Skip to content

Instantly share code, notes, and snippets.

View matmuenzel's full-sized avatar
😡

Matthias Münzel matmuenzel

😡
  • 247GRAD GmbH
  • Deutschland
  • 22:47 (UTC +01:00)
View GitHub Profile
@vwart
vwart / exampleDialog.ts
Created May 23, 2018 14:25
Optional ChoicePrompts with Bot Framework
import {Library, IPromptChoiceResult, Prompts, ListStyle, IDialogResult, IntentRecognizer, IRecognizeContext, IIntentRecognizerResult} from "botbuilder";
// how to use the extended prompt:
const lib = new Library("ending");
lib
.dialog("example", [
(session, args) => {
session.sendTyping();
const choiceOpt: CustomChoiceOptions = {