Bots resource
Generated reference for ovok_sdk: bots resource.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.23+d339d81
BotsResource
class BotsResourceProject bots. Reached through ovok.bots.
Every request throws an OvokException subclass when it fails.
Constructors
BotsResource.new
BotsResource(HttpClient _http)Built by Ovok; use ovok.bots instead.
| Parameter | Type | Kind | Default |
|---|---|---|---|
_http | HttpClient | positional |
Methods
BotsResource.execute
Future<JsonMap> execute(String identifier, JsonMap input)Executes a bot with input and returns its output.
Calls POST bots?identifier={identifier}; identifier is the bot's
"system|value" identifier.
| Parameter | Type | Kind | Default |
|---|---|---|---|
identifier | String | positional | |
input | JsonMap | positional |
Returns Future<Map<String, dynamic>>.
Last updated on