Location Control - ms botframework


SUBMITTED BY: inzi

DATE: April 2, 2017, 4:43 p.m.

FORMAT: C#

SIZE: 322 Bytes

HITS: 680

  1. Location Control - ms botframework
  2. var apiKey = WebConfigurationManager.AppSettings["BingMapsApiKey"];
  3. var prompt = "Where should I ship your order? Type or say an address.";
  4. var locationDialog = new LocationDialog(apiKey, message.ChannelId, prompt);
  5. context.Call(locationDialog, (dialogContext, result) => {...});

comments powered by Disqus