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 BotsResource

Project 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.

ParameterTypeKindDefault
_httpHttpClientpositional

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.

ParameterTypeKindDefault
identifierStringpositional
inputJsonMappositional

Returns Future<Map<String, dynamic>>.

Last updated on

On this page