Skip to main content
Defined in: core/provider.ts:646 Options of one IProvider.sendDraft call.

Properties

canStop?

Defined in: core/provider.ts:648 Show the user a button to stop the generation (Telegram can_stop).

keepOnStop?

Defined in: core/provider.ts:650 Keep the draft visible when the user presses stop (Telegram keep_on_stop).

onStop?

Defined in: core/provider.ts:655 Called (at most once) when the user stops this draft. Providers without a stop control never call it.

Returns

void

platformData?

Defined in: core/provider.ts:657 Transport-native passthrough (e.g. Telegram message_thread_id).