BotPatch
What a write to the bot itself may carry. Every field is optional and only the ones sent are
written, so a body carrying none of them is refused rather than answered as a write that
changed nothing. name, workspace and is_active are the bot's own settings; state is
which side of the trash it is on, and active is its one accepted value.
- isType: boolean
_active - nameType: stringmax length:50
- stateType: BotStateenum
Set to
activeto restore a bot from the trash.trashedis not accepted: the trash is entered by deleting the bot.valuesactivetrashed - workspaceType: integer | null
The workspace to file the bot under. Send
nullto file it under none. A workspace that does not exist, or belongs to another brand, is rejected with422.