botbuilder-helpers
Version:
helpers for microsoft botbuilder framework
31 lines (22 loc) • 500 B
Markdown
with typing.
The typing length is based on text argument length.
```js
await sendTextWithTyping(context, text);
```
Send only typing. You can pass length.
```js
await sendTyping(context, length);
```
```js
const text = "My context action with typing.";
const menu = ["CHOICE"];
await stepActionWithTyping(
context,
() => context.prompt("PROMPT_ID", text, menu),
text.length
);
```
Sending text