Search
Preparing search index...
The search index is not available
bBot
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
NLUDirectBranch
Class NLUDirectBranch
Natural Language Direct Branch pre-matches the text for bot name prefix.
Hierarchy
NLUBranch
NLUBranch
NLUDirectBranch
Implements
IBranch
IBranch
Indexable
[
key:
string
]:
any
Natural Language Direct Branch pre-matches the text for bot name prefix.
Index
Constructors
constructor
Properties
callback
criteria
force
id
match
matched
process
Key
type
Methods
execute
matcher
Constructors
constructor
new NLUDirect
Branch
(
criteria
:
NLUCriteria
, callback
:
action
, options
?:
IBranch
)
:
NLUDirectBranch
Parameters
criteria:
NLUCriteria
callback:
action
Optional
options:
IBranch
Returns
NLUDirectBranch
Properties
callback
callback
:
ICallback
criteria
criteria
:
NLUCriteria
force
force
:
boolean
id
id
:
string
match
match
:
NLUResultsRaw
|
undefined
Optional
matched
matched
:
undefined
|
false
|
true
process
Key
process
Key
:
ProcessKeys
= "understand"
type
type
:
string
Methods
execute
execute
(
b
:
State
, middleware
:
Middleware
, done
?:
IDone
)
:
Promise
<
State
>
Parameters
b:
State
middleware:
Middleware
Optional
done:
IDone
Returns
Promise
<
State
>
matcher
matcher
(
msg
:
TextMessage
)
:
Promise
<
NLUResultsRaw
|
undefined
>
Parameters
msg:
TextMessage
Returns
Promise
<
NLUResultsRaw
|
undefined
>
Globals
NLUDirect
Branch
constructor
callback
criteria
force
id
match
matched
process
Key
type
execute
matcher
Generated using
TypeDoc
Natural Language Direct Branch pre-matches the text for bot name prefix.