aiBotV1BotsBotCommandsDestroy method

Future<void> aiBotV1BotsBotCommandsDestroy(
  1. int id,
  2. String org
)

Create slash commands for a specific bot eg. /iblai-baseline

Parameters:

  • int id (required): A unique integer value identifying this bot command.

  • String org (required):

Implementation

Future<void> aiBotV1BotsBotCommandsDestroy(int id, String org,) async {
  final response = await aiBotV1BotsBotCommandsDestroyWithHttpInfo(id, org,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}