IRouteResult interface
Candidate route returned by Library.findRoutes().
Properties
library |
Name of the library the route came from. |
route |
(Optional) data used to assist with triggering a selected route. |
route |
(Optional) type of route returned. |
score | Confidence score on a scale from 0.0 - 1.0 that the route is best suited for handling the current message. |
Property Details
libraryName
Name of the library the route came from.
libraryName: string
Property Value
string
routeData
(Optional) data used to assist with triggering a selected route.
routeData?: any
Property Value
any
routeType
(Optional) type of route returned.
routeType?: string
Property Value
string
score
Confidence score on a scale from 0.0 - 1.0 that the route is best suited for handling the current message.
score: number
Property Value
number