Skip to main content
Defined in: core/messaging.ts:30 Automatic typing-indicator policy (BotConfig.typing, ctx.reply(text, { typing })).

Properties

enabled?

Defined in: core/messaging.ts:32 Show the indicator before text replies. Defaults to false globally, true when set per reply.

minMs?

Defined in: core/messaging.ts:34 Shortest time the indicator is shown before the text is sent: a duration ('800ms') or ms. Default 800.

maxMs?

Defined in: core/messaging.ts:36 Longest time the indicator is shown before the text is sent: a duration ('3s') or ms. Default 3000.

charsPerSecond?

Defined in: core/messaging.ts:38 Simulated typing speed used to size the wait between minMs and maxMs. Default 20.