0.1.0 • Published 5 years ago

botbuilder-helpers v0.1.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

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
);