Hooks
Properties
Section titled “Properties”onConversationEnd?
Section titled “onConversationEnd?”optional onConversationEnd?: (args) => void | Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
{ |
|
|
|
|
|
|
|
|
Returns
Section titled “Returns”void | Promise<void>
onEnd?
Section titled “onEnd?”optional onEnd?: (ctx) => void | Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”void | Promise<void>
onError?
Section titled “onError?”optional onError?: (ctx, error) => void | Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
|
Returns
Section titled “Returns”void | Promise<void>
onStart?
Section titled “onStart?”optional onStart?: (ctx) => void | Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
Returns
Section titled “Returns”void | Promise<void>
onStreamPart?
Section titled “onStreamPart?”optional onStreamPart?: (ctx, part) => void | Promise<void>;Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
|
|
|
|
|
Returns
Section titled “Returns”void | Promise<void>