@botmesh/core - v2.0.0-alpha.2
Guide
Preparing search index...
@botmesh/core
ConversationControlsBase
Interface ConversationControlsBase
Minimal controls surface;
controls.ts
extends it with ask/waitText/choose/...
interface
ConversationControlsBase
{
waitAny
(
opts
?:
ResolvedWaitOptions
)
:
Promise
<
RuntimeMessage
>
;
say
(
text
:
string
)
:
Promise
<
void
>
;
state
:
Record
<
string
,
unknown
>
;
end
(
farewell
?:
string
)
:
never
;
}
Hierarchy (
View Summary
)
ConversationControlsBase
ConversationControls
Index
Properties
state
Methods
wait
Any
say
end
Properties
state
state
:
Record
<
string
,
unknown
>
Methods
wait
Any
waitAny
(
opts
?:
ResolvedWaitOptions
)
:
Promise
<
RuntimeMessage
>
Parameters
Optional
opts
:
ResolvedWaitOptions
Returns
Promise
<
RuntimeMessage
>
say
say
(
text
:
string
)
:
Promise
<
void
>
Parameters
text
:
string
Returns
Promise
<
void
>
end
end
(
farewell
?:
string
)
:
never
Parameters
Optional
farewell
:
string
Returns
never
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
state
Methods
wait
Any
say
end
Guide
@botmesh/core - v2.0.0-alpha.2
Loading...
Minimal controls surface;
controls.tsextends it with ask/waitText/choose/...