Interface: AssistantApi
YapYap's assistant bar beneath the open chat (ADR 0013). Needs assistant:bar. The extension only offers text: YapYap puts a suggestion in the message box, or sends it, only when the user clicks.
Properties
offer
readonlyoffer: (offer) =>Promise<void>
Replaces what the bar shows for this extension.
Parameters
offer
Returns
Promise<void>
onRequest
readonlyonRequest: (handler) =>void
Runs handler for each request the user makes in the bar.
Parameters
handler
(request) => void | Promise<void>
Returns
void