npm.io
0.1.0 • Published 7 years ago

botbuilder-helpers

Licence
ISC
Version
0.1.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0

botbuilder-helpers

sendTextWithTyping

Sending text with typing. The typing length is based on text argument length.

await sendTextWithTyping(context, text);

sendTextWithTyping

Send only typing. You can pass length.

await sendTyping(context, length);
stepActionWithTyping
const text = "My context action with typing.";
const menu = ["CHOICE"];
await stepActionWithTyping(
  context,
  () => context.prompt("PROMPT_ID", text, menu),
  text.length
);

Keywords