Toggle navigation
Home
Latest pastes
FAQ
Random
Register
Login
Location Control - ms botframework
SUBMITTED BY:
inzi
DATE:
April 2, 2017, 4:43 p.m.
FORMAT:
C#
SIZE:
322 Bytes
Raw
Download
Tweet
HITS:
680
Go to comments
Report
Location
Control
-
ms
botframework
var
apiKey
=
WebConfigurationManager
.
AppSettings
[
"BingMapsApiKey"
];
var
prompt
=
"Where should I ship your order? Type or say an address."
;
var
locationDialog
=
new
LocationDialog
(
apiKey
,
message
.
ChannelId
,
prompt
);
context
.
Call
(
locationDialog
,
(
dialogContext
,
result
)
=>
{...});
Please enable JavaScript to view the
comments powered by Disqus.
comments powered by
Disqus