Skip to main content

BotBulkResult

One bot's outcome in startBots / stopBots.

type BotBulkResult {
id: ID!
ok: Boolean!
bot: Bot
error: BotBulkError
}

Fields​

BotBulkResult.id ● ID! non-null scalar​

The bot id as sent.

BotBulkResult.ok ● Boolean! non-null scalar​

True when the action ran for this bot.

BotBulkResult.bot ● Bot object​

The bot as the action left it (starting, stopped). Null when ok is false.

BotBulkResult.error ● BotBulkError object​

Why the action did not run. Null when ok is true.

Returned By​

startBots mutation ● stopBots mutation